Scanning a string line by line
-
25-09-2019 - |
Question
I have an nsstring with 50 of lines i want to scan a particular string using nsscanner scanning each lines.
Is it possible ?
Can anyone help me?
Thanks in advance......
Solution
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?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow