--- palm wrote: > > I've got following problem: > > the string which I get back form a routine has a \n at the > end....but I need a \0 for my search. > e.g. "00000103\n" -> "00000103\0" >
Is this a Palm OS programming question? Is the routine you mentioned one that you wrote? If so, then rewrite it to do what you want. If not, what routine is it? Regardless of who wrote that routine, why don't you just look at the string one character at a time until you find the '\n' and replace that with '\0'? __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
