C problem
|
could some one tell me what's the best way to read string without counting the blank space
long life....
|
Re: C problem
Link |
by
on 2005-04-06 01:43:23
|
i think you mean you want to trim spaces off the front and end of the string? for example: input = " i like spaces ", output = "i like spaces" if you are using .NET, search for the trim function. otherwise, you can make your own trim.h file (see here) |