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.