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

Copy a portion from the start of a string.

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

Parameters
strA string
sizeThe size or length of the substring.
Returns
The substring of a specified length that appears at the start of a string.
Examples:
ex_leftstr.nxc.