Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IWSplit::explode ( const P6WCHAR pDelimiter,
const P6WCHAR pString,
P6UINT32  limit,
p6IEnumWSplitChunks **  ppEnum 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotInitializedA successful call to initialize has not been done.