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

PINLINE void PString::Splice ( const PString str,
PINDEX  pos,
PINDEX  len = 0 
) [inherited]

Splice the string into the current string at the specified position. The specified number of bytes are removed from the string.

Note that this function will break the current instance from multiple references to the string. A new string buffer is allocated and the data from the old string buffer copied to it.

strSubstring to insert.
posPosition in string to insert the substring.
lenLength of section to remove.

Definition at line 339 of file contain.inl.

Referenced by PHTTPConfigSectionList::OnLoadedText(), PHTTPForm::OnLoadedText(), PHTTPForm::Post(), PString::Replace(), PFilePath::SetType(), and PURL::TranslateString().

  { Splice((const char *)str, pos, len); }

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index