会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
IWS
Talk is cheap. Show me the code. -- Torvalds, Linus (2000-08-25).
博客园
首页
新随笔
联系
订阅
管理
2014年10月31日
iOS: 在Swift中优雅的实现Substring
摘要: 在Swift中,当我们想要截取某个字符串时,方法如下:let carNumber = "沪A12345"let startIndex = advance(userCar.carPlateNumber.startIndex, 0)let endIndex = advance(startIndex, 1...
阅读全文
posted @ 2014-10-31 18:29 GreatK
阅读(519)
评论(0)
推荐(0)
公告