在 Swift 中为 String 添加扩展

String extension 代码
1 | extension String { |
使用
1 | let str = "01234567" |
- Post title:在 Swift 中为 String 添加扩展
- Post author:xxxixxxx
- Create time:2021-06-05 15:55:00
- Post link:https://xxxixxx.github.io/2021/06/05/100-Swift中String扩展/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
Comments