API Guides > ConceptRT 3.x

Detailed Description

Functions

void Extract (BaseStaticString &extracted, BaseStaticString &remaining, PCChar8 separator)
 Extract a string from a given string. More...
 
void Extract (BaseStaticString &extracted, BaseStaticString &remaining, Char8 separator)
 Extract a string from a given string. More...
 
void ExtractRightToLeft (BaseStaticString &extracted, BaseStaticString &remaining, PCChar8 separator)
 Extracts from right to left. More...
 
void ExtractRightToLeft (BaseStaticString &extracted, BaseStaticString &remaining, Char8 separator)
 Extracts from right to left. More...
 
void ExtractArguments (BaseStaticString &extracted, BaseStaticString &remaining)
 Extracts the arguments. 'value' => value; "value" => value; "val 'int'" => val 'int'; 'val "int"' => val "int". More...
 
String Left (PCChar8 text, Int32 count)
 Extract the left part. More...
 
void Left (BaseStaticString &result, PCChar8 text, Int32 count)
 Extract the left part. More...
 
String Right (PCChar8 text, Int32 count)
 Extract the right part. More...
 
void Right (BaseStaticString &result, PCChar8 text, Int32 count)
 Extract the right part. More...
 
String Mid (PCChar8 text, Int32 first, Int32 count)
 Extract a string from this. More...
 
void Mid (BaseStaticString &result, PCChar8 text, Int32 first, Int32 count)
 Extract a string from this. More...
 
bool StartWith (BaseStaticString &text, BaseStaticString &start)
 Determines if it starts with start string. More...
 

Function Documentation

void Extract ( BaseStaticString extracted,
BaseStaticString remaining,
PCChar8  separator 
)

Extract a string from a given string.

Parameters
extracted[in,out] Result string of the extraction.
remaining[in,out] Original given string. After execution this string will be reduce by the extracted string.
separatorSeparator character that limits the extraction.
void Extract ( BaseStaticString extracted,
BaseStaticString remaining,
Char8  separator 
)

Extract a string from a given string.

Parameters
extracted[in,out] Result string of the extraction.
remaining[in,out] Original given string. After execution this string will be reduce by the extracted string.
separatorSeparator character that limits the extraction.
void ExtractArguments ( BaseStaticString extracted,
BaseStaticString remaining 
)

Extracts the arguments. 'value' => value; "value" => value; "val 'int'" => val 'int'; 'val "int"' => val "int".

Parameters
extracted[in,out] The extracted.
remaining[in,out] The remaining.
void ExtractRightToLeft ( BaseStaticString extracted,
BaseStaticString remaining,
PCChar8  separator 
)

Extracts from right to left.

Parameters
extracted[in,out] The extracted String.
remaining[in,out] Original given string. After execution this string will be reduce by the extracted string.
separatorThe separator.
void ExtractRightToLeft ( BaseStaticString extracted,
BaseStaticString remaining,
Char8  separator 
)

Extracts from right to left.

Parameters
extracted[in,out] The extracted String.
remaining[in,out] Original given string. After execution this string will be reduce by the extracted string.
separatorThe separator.
String Left ( PCChar8  text,
Int32  count 
)

Extract the left part.

Parameters
textThe text.
countNumber of character to extract.
Returns

A string representation of this object.

return a String which is limited to STRING_MAX_LENGTH.

void Left ( BaseStaticString result,
PCChar8  text,
Int32  count 
)

Extract the left part.

Parameters
result[in,out] The result.
textThe text.
countNumber of character to extract.
String Mid ( PCChar8  text,
Int32  first,
Int32  count 
)

Extract a string from this.

Parameters
textThe text.
firstFirst character of the extraction.
countNumber of character of the extraction.
Returns

A string representation of this object.

return a String which is limited to STRING_MAX_LENGTH.

void Mid ( BaseStaticString result,
PCChar8  text,
Int32  first,
Int32  count 
)

Extract a string from this.

Parameters
result[in,out] The result.
textThe text.
firstFirst character of the extraction.
countNumber of character of the extraction.
String Right ( PCChar8  text,
Int32  count 
)

Extract the right part.

Parameters
textThe text.
countNumber of character to extract.
Returns

A string representation of this object.

return a String which is limited to STRING_MAX_LENGTH.

void Right ( BaseStaticString result,
PCChar8  text,
Int32  count 
)

Extract the right part.

Parameters
result[in,out] The result.
textThe text.
countNumber of character to extract.
bool StartWith ( BaseStaticString text,
BaseStaticString start 
)

Determines if it starts with start string.

Parameters
text[in,out] The text.
start[in,out] The start string.
Returns
true if yes.