bool StringSplit ( string const &  _source,
char const  _delim,
string *  _pLeftStr,
string *  _pRightStr 
)

Splits a string into two pieces.

Finds the first instance of the specified character and splits the string into the two pieces to the left and right of this character. The character itself is not included in either string.

Parameters:
_source string containing the text to be split.
_delim the delimiting character marking the point where the string should be split.
_pLeftStr pointer to a string that will be filled with the text to the left of the delimiting character.
_pRightStr pointer to a string that will be filled with the text to the right of the delimiting character.
Returns:
True if the delimiting character was found and the string split in two. Otherwise returns false.


Generated on Sun Jan 21 14:30:23 2007 for xPL SDK by  doxygen 1.5.1-p1