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..??
To join
firstNameandlastNameusing a#.To get them back:
You can use
#just like any other character. And if you think that user may include#in names then you can use more complex combinations as suggested by Vignesh. Like this:EDIT(after comment): If you want to use higher value than 128 then you can easily create a string by using
%Cmodifier.