NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_leftstr.nxc

This is an example of how to use the LeftStr function.

task main()
{
string s = "Now is the winter of our discontent";
TextOut(0, LCD_LINE1, LeftStr(s, 12));
}