2.4.1 Changing a String to Upper/Lower Case

To change a string to upper/lower case, use the 'toUpperCase()' and 'toLowerCase()' functions respectively. For example:

var s = 'John Lennon';

Text1.text = s.toLowerCase();

To change the header cells of a table to upper case, add the following lines to the table-level script:

for(var col = 0; col <Table1.table.size; col++) {

  Table1.table[0][col] =

      Table1.table[0][col].toUpperCase();

}

<< 2.4 Useful Text/String Functions © 1996-2013 InetSoft Technology Corporation (v11.4) 2.4.2 Searching Within a String >>