| Version 3 (modified by , 15 years ago) ( diff ) |
|---|
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
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)