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

Copy a portion from the middle of a string.

Returns the substring of a specified length that appears at a specified position in a string.

Parameters
strA string
idxThe starting index of the substring.
lenThe length of the substring.
Returns
The substring of a specified length that appears at a specified position in a string.
Examples:
ex_midstr.nxc.