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

This is an example of how to use the UpperCase, LowerCase, UpperCaseEx, and LowerCaseEx functions.

task main()
{
string test = "Lorem Ipsum Dolor Sit";
string upper = UpperCase(test);
string lower = LowerCase(test);
TextOut(0, LCD_LINE1, test);
TextOut(0, LCD_LINE2, upper);
TextOut(0, LCD_LINE3, lower);
upper = UpperCaseEx(test, 1, 10);
lower = LowerCaseEx(test, 1, 10);
while(true);
}