Logo Search packages:      
Sourcecode: pwlib version File versions

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 2203 of file contain.cxx.

References PString::PString().

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

Generated by  Doxygen 1.6.0   Back to index