Thanks very much, I will try it out and use your idea.
Am sorry I posted the question in this forum, just wanted to get ideas from
you guys.
Ciao
- Original Message -
From: "Tiger12506" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 01, 2007 3:20 AM
Subject: Re: [
"Tiger12506" <[EMAIL PROTECTED]> wrote
> I have a string with space and I would like to remove the space
> before
> comparing but I don't know how to go about doing it. Here is the
> code
Look at strrchr()...
> void rstrip(char *c) {
> while (*c++!=0);
> c--;
> while (*--c==' ') *c = 0;
>
Hello people of the world.
This question is not a Python related question, but I thought I might just
throw it in here and see if there are any C old-timers who could help out.
I have a string with space and I would like to remove the space before
comparing but I don't know how to go about doin
Hello people of the world.
This question is not a Python related question, but I thought I might just
throw it in here and see if there are any C old-timers who could help out.
I have a string with space and I would like to remove the space before
comparing but I don't know how to go about doin