Is there any function that will remove a Space after the string like
"Chris " to "Chris" without the space after the word???
is there any function that can do this ?
Printable View
Is there any function that will remove a Space after the string like
"Chris " to "Chris" without the space after the word???
is there any function that can do this ?
I'm not aware of an standard function for that. Write one as an exercise.
The CString class can do this for you...
CString Catfish;
Catfish = "Chris ";
Catfish.TrimRight();
Thanks
it really help mi alot