Vikas, Use TxtCharBounds to get the start and end of the Char string. The you can iterate through the string with TxtGetNextChar or TxtGetPreviousChar to get the pieces you want. There are some examples in the documentation for these functions.
Thanks Tim Flood [EMAIL PROTECTED] On Saturday, March 30, 2002, at 02:15 AM, V...i...K...a...S wrote: > Hello All, > I guess this problem everybody might have faced. > I stroed records in the database as a > Char *; > Hence on quering the database i get a > char * string as "V0001~VIKAS" > Now I want to split up this string into 2 removing the '~' seperator. > I have tried a lot of ways but am unsuccessful. > Can anybody suggest me how to do this. > > Thx in advance , > Vikas > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
