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

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

task main()
{
string msg = "hi there";
byte x = strlen(msg); // return the length of msg
}