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