Hello everyone,
I am newbie in this...
Is there a function that truncates the blank space 1.5 before the 1.5? like
sprint(), trim()...
Thanks,
Carlos
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
On the Palm you can use std::string
and find code that will do this. ARE you using C++ or
C?
--- Carlos Gonzalez [EMAIL PROTECTED]
wrote:
Hello everyone,
I am newbie in this...
Is there a function that truncates the blank space
1.5 before the 1.5? like sprint(), trim()...
Thanks
I am using C.
I just want to shift left the content of the string...
Thanks again,
Carlos
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
);
}
Regards,
Stephen Lee
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Gonzalez
Sent: Tuesday, July 04, 2006 10:05 AM
To: Palm Developer Forum
Subject: Re: trim()
I am using C.
I just want to shift left the content of the string...
Thanks again
There isn't anything that I know of but you can use
strstr or strchr and just do ptr arithmetic and
copying characters before you put '\0' at the position
you wanto to terminate.
I believe KR C or this function is on the web
somewhere.
http://www.thescripts.com/forum/thread219563.html
for
Thanks a lot. It works perfect!
Thanks again.
Carlos
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/