Instructions on using strings in C

String string = " 14 units "; String str = string.trim (); This results in the variable str referencing the string "14 units". int indexOf (int ch) int lastIndexOf (int ch) This method returns the index, starting from 0, for the location of the given character in the string. (The char value will be widened to int.) For example, ................
................