Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PString PString::LeftTrim (  ) const [inherited]

Create a string consisting of all characters from the source string except all spaces at the beginning of the string. The original string is not changed and a new unique reference to a string is returned.

string with leading spaces removed.

Definition at line 2208 of file contain.cxx.

References PString::PString().

  const char * lpos = theArray;
  while (isspace(*lpos & 0xff))
  return PString(lpos);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index