String :: extract - Get string between begin end end tag
The function returns the string value between two strings.
Return value: String value ( odaba::String & )
Implementation overview
- Get string between begin end end tag
String :: extract ( sBegin, sEnd ) - Get string between begin end end tag starting at position
String :: extract ( iPosition, sBegin, sEnd )
Implementation details
-
Get string between begin end end tag
odaba::String String  :: extract ( odaba::String &sBegin, odaba::String &sEnd )
The function searches the string from beginning
- sBegin - Starting or begin string
- sEnd - Terminating or end strint
to list
-
Get string between begin end end tag starting at position
odaba::String String  :: extract ( int32 iPosition, odaba::String &sBegin, odaba::String &sEnd )
The function starts searching at position passed in iPosition . When iPosition is less than 0 , the function throws an exception.
- iPosition
- Position in collection
The position of an element in a collection is beginning with 0 for the first element.
- sBegin - Starting or begin string
- sEnd - Terminating or end strint
to list
- iPosition
- Position in collection