StrTrimRight
Trim trailing spaces, tabs, newlines, or carriage returns from a string.
string StrTrimRight(string& str);
Parameters
- str - string to be trimed
Return Value
- Returns the string with trailing spaces, tabs, newlines, or carriage returns removed.
Remarks
Example
string strVal = "123 \r"; string strNew = StrTrimLeft(strVal);
The string strNew will contain "123" without the trailing spaces and carriage return.
See Also
Last modified
7 years ago
Last modified on 04/12/18 13:09:47
Note:
See TracWiki
for help on using the wiki.