API Guides > ConceptRT 3.x

Detailed Description

Functions

Int32 Find (PCChar8 text, Char8 c, Int32 start=0)
 Searches for a character in the string. More...
 
Int32 Find (PCChar8 text, PCChar8 subString, Int32 start=0)
 Searches for a subString in the string. More...
 
Int32 FindRightToLeft (PCChar8 text, Char8 c, Int32 start=-1)
 Searches for a character from the rigth in the string. More...
 
Int32 FindRightToLeft (PCChar8 text, PCChar8 subString, Int32 start=-1)
 Searches for a subString from the rigth in the string . More...
 

Function Documentation

Int32 Find ( PCChar8  text,
Char8  c,
Int32  start = 0 
)

Searches for a character in the string.

Parameters
textThe text.
cThe character to search.
start(optional) the search start position.
Returns
The position where the character has been found. Returns -1 if not found.
Int32 Find ( PCChar8  text,
PCChar8  subString,
Int32  start = 0 
)

Searches for a subString in the string.

Parameters
textThe text.
subStringThe subString to search.
start(optional) the search start position.
Returns
The position where the subString has been found. Returns -1 if not found.
Int32 FindRightToLeft ( PCChar8  text,
Char8  c,
Int32  start = -1 
)

Searches for a character from the rigth in the string.

Parameters
textThe text.
cThe character to search.
start(optional) the search start position.
Returns
The position where the character has been found. Returns -1 if not found.
Int32 FindRightToLeft ( PCChar8  text,
PCChar8  subString,
Int32  start = -1 
)

Searches for a subString from the rigth in the string .

Parameters
textThe text.
subStringThe subString to search.
start(optional) the search start position.
Returns
The position where the subString has been found. Returns -1 if not found.
Warning
Text size limited to String size.