Confusion with simple NString manipulation in Objective C
Coming from a Java background, I’ve found it extremely difficuilt to do any simple String manipulation.
My first attempt was
As it turns out this doesn’t work so well. After much frustration I found the following solution
A couple of other useful manipulations are the sub string manipulators
Which using the Strings from above give “This” and ” is a” respectively.
Related Posts
Posted on July 22, 2009 at 2:02 pm by Alastair Munro · Permalink
In: Iphone · Tagged with: nstring, Objective C
In: Iphone · Tagged with: nstring, Objective C