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

This is an example of how to use the Pos and NumOut functions.

task main()
{
string s1 = "hi there";
string s2 = "the";
NumOut(0, LCD_LINE1, Pos(s2, s1));
while(true);
}