Similar to the PHP explode() function.
It returns an enumerator with a set of substrings of the pString parameter formed by splitting it on bondaries formed by the pDelimiter string. The delimiter string is not included in the values returned.
- Parameters
-
pDelimiter | [ in ] The boundary string to break the pString value up on. |
pString | [ in ] The input string to break into pieces. |
limit | [ in ] The caller can control the number of chunks pulled out of the input string. A value of zero means no limit. If a limit is set (e.g., 3) the last chunk returned will include the remaining part of the input string. |
ppEnum | [ out ] The returned parsed chunks. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotInitialized | A successful call to initialize has not been done. |