String Handling - ICSE Class 10 Computer Applications Notes, Diagrams and Solved Questions
Every String method in the syllabus with its return type, a playground to try them, equals vs ==, how compareTo is worked out, and word and character programs for the exam.
In this chapter
length(), charAt() and concat(), and why Strings are immutable
indexOf, lastIndexOf, startsWith and endsWith
substring, trim, toUpperCase, toLowerCase and replace, in a method playground
equals vs ==, equalsIgnoreCase, and how to work out compareTo
Reverse, palindrome and vowel programs, with a dry run
Working word by word: initials, longest word, Pig Latin
Letter frequency, double letters and tricky output questions