String :: splitPop - Extract terminating string
The function returns the string after the last split sequence or character and cuts the current string before the last split sequence or character. When split sequence or character could not be found, the result contains the complete string value and the current string becomes empty.
Return value: String value ( odaba::String & )
Implementation overview
- Extract terminating string after split character
String :: splitPop ( iValue ) - Extract terminating string after split sequence
String :: splitPop ( cString )
Implementation details
-
Extract terminating string after split character
odaba::String String  :: splitPop ( int32 iValue )
The function extracts the terminating string after the last split character passed in iValue .
- iValue
- Integer value
The value is passed as platform independent 32-bit integer value.
to list
- iValue
- Integer value
-
Extract terminating string after split sequence
odaba::String String  :: splitPop ( odaba::String &cString )
The function extracts the terminating string after the last split sequence passed in cString .
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).
to list
- cString
- Constant string object