Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ctalmeida

macrumors newbie
Original poster
May 17, 2011
4
0
Hi,

Sorry again for the ignorance.

I have a NSString str with "ABCDEFGHI" on it.

I am for many hours trying to find a way to retrive from letter i n letters and have it in another NSString.
Like NSString str2 = [str GETPARTOFSTRINGFROM:2 LENGHT:3] would return

"CDE"

Anyone has a simple routine to do that? Is there a function that would do that?

Thanks again for the help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.