how to remove spaces from string!
John Love-Jensen
eljay@adobe.com
Mon Aug 25 11:39:00 GMT 2003
string NoSpaces(string s)
{
while(s.find(" ") != string::npos)
{
s.replace(s.find(" "), 1, "");
}
return s;
}
More information about the Gcc-help
mailing list