NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
string SubStr ( string  str,
unsigned int  idx,
unsigned int  len 
)
inline

Extract a portion of a string.

Return a sub-string from the specified input string starting at idx and including the specified number of characters. The input string parameter may be a variable, constant, or expression.

Parameters
strA string.
idxThe starting point of the sub-string.
lenThe length of the sub-string.
Returns
The sub-string extracted from parameter str.
Examples:
ex_StrCatOld.nxc, ex_string.nxc, and ex_SubStr.nxc.