In my iPhone application I need to use a nonstandard character (which cannot insert using a keyboard directly) as a string separator. Then i need to store that string in a column in my sqlite db. When i read that string from the db, I need to use that special character to split that string.

For example lets Say # is a nonstandard char. Then Im going to create new string as 'firstname#lastname', and stored into database. Then I use that # to separate out the first name and last name from the database. Can any one help me to do that..??

What problem are you facing in doing that>?
–
VigneshApr 2 '12 at 10:27

1

What is your exact problem? You don't how to join strings using special character, or you don't know how to separate them or you don't know how to store them in DB? What is the real problem?
–
taskinoorApr 2 '12 at 10:28

@VigneshI cannot use # value since some one may include # in firstname or lastname. then my logic is not going to work
–
nathApr 2 '12 at 10:30

@taskinoor Actully i dont know how to add nonstandard character to a NSString and also how to use it for split the NSString
–
nathApr 2 '12 at 10:32

I'm not sure what do you mean by nonstandard character. # is a standard ASCII character with ASCII value 35. You can use it in a string just like other characters.
–
taskinoorApr 2 '12 at 10:35