开发者

Scanning a string line by line

I have an nsstring with 50 of lines i want to scan a pa开发者_JAVA百科rticular string using nsscanner scanning each lines.

Is it possible ?

Can anyone help me?

Thanks in advance......


It is possible; you just need to split the string, and then scan each line for the string you are looking for.

Why are you using NSScanner? Would not it be easier to simply search for the string?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜