爱好玩

Stay Hungry, Stay Foolish.

Main menu

Skip to primary content
Skip to secondary content
爱好玩
  • 首页
  • APP
  • 推广

Daily Archives: 2015年3月17日

[Lua]去掉文本中的Html标签

Posted on 2015年3月17日 by superyyl | Leave a reply

直接上代码了

Lua
1
2
3
4
function clearHtml(htmlText)
    local s,c = string.gsub(htmlText,"<[%a%A]->","")
    return s
end

 

Posted in 开发.
2015年三月
一 二 三 四 五 六 日
« 1月   4月 »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

标签

3d adhoc ADT Android APP bug CCScrollView cocos2d cocos2dx crash egret FMDB git https ide iOS java jenkins linux lua mac nginx openssl plugin quick ScrollView shell SimpleDateFormat sqlite ssh sublime svn swift terminal ThreadLocal Unity xcode yum 好玩 工具 技巧 抗锯齿 插件 日志分析 贝塞尔曲线

功能

  • 登录
  • 文章RSS
  • 评论RSS
  • WordPress.org
© 2025 爱好玩, all rights reserved. 沪ICP备15033189-1号
Proudly powered by WordPress