virtual P6R::P6ERR P6R::p6ISplit::explode ( const P6CHAR *  pDelimiter,
const P6CHAR *  pString,
P6UINT32  limit,
p6IEnumSplitChunks **  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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.