D
DrBob
gcc 3.3 MAC OS X.
I have a string that has trailing spaces in it that I want removed.
So i have a variable:
string x("abcd ");
x.trim() isn't an implemented method.
Is there a method I don't know about?
What do I do to extent the string class such that there is a method to
trim the trailing spaces... (Assuming a method doesn't exist that I'm
not aware of.)
I have a string that has trailing spaces in it that I want removed.
So i have a variable:
string x("abcd ");
x.trim() isn't an implemented method.
Is there a method I don't know about?
What do I do to extent the string class such that there is a method to
trim the trailing spaces... (Assuming a method doesn't exist that I'm
not aware of.)