How to get a substring from NSSTring from index 0 to 99. i.e. first 100 characters
Note that the index has to be checked.
Georg Fritzsche
2010-07-08 11:37:19
A:
[myString substringToIndex:100]
You need to be sure that index 100 is valid, i.e. length of string is at least 100. Otherwise an exception will be thrown.
taskinoor
2010-07-08 11:38:22