Hi all,
This simple task has me stumped.
I am trying to create an NSArray of all printable characters (in Standard English) (Up to ASCII 128 for example).
I thought there had to be some simple methods in Cocoa for this.
So far, have tried:
Creating an Appropriate CharacterSet, but have not been able to covert this to an array of individual objects of the set.
Finally, have created an:
NSString * noSpaceString
which contains all the characters I need, but stumped as to convert this to an Array.
This is what I **imagined** I should be looking for, but just about every method I have tried has failed.
NSArray * arr = [noSpaceString methodThatDividesStringIntoComponentCharacters];
There has to be a simple answer, but so far, it has eluded me.
Thanks for you help.
This simple task has me stumped.
I am trying to create an NSArray of all printable characters (in Standard English) (Up to ASCII 128 for example).
I thought there had to be some simple methods in Cocoa for this.
So far, have tried:
Creating an Appropriate CharacterSet, but have not been able to covert this to an array of individual objects of the set.
Finally, have created an:
NSString * noSpaceString
which contains all the characters I need, but stumped as to convert this to an Array.
This is what I **imagined** I should be looking for, but just about every method I have tried has failed.
NSArray * arr = [noSpaceString methodThatDividesStringIntoComponentCharacters];
There has to be a simple answer, but so far, it has eluded me.
Thanks for you help.