I use the following code to get the alphabetical number of the first letter in a string:
toupper([ my_string characterAtIndex: 0 ] ) - 'A'
I need to do the inverse problem - convert the alphabetic number of a letter to NSString.
What is the best way to do this?
Thanks in advance.
source
share