Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含 50 行的 nsstring,我想使用 nsscanner 扫描每一行来扫描特定的字符串。
是否可以 ?
谁能帮我?
提前致谢......
有可能的; 您只需要拆分字符串,然后扫描每一行以查找您要查找的字符串。
你为什么用NSScanner?简单地搜索字符串不是更容易吗?
NSScanner