ICSE Class 10 – String Handling Programs (Complete Notes)
1. Character Counting
- Vowels, consonants, digits, spaces, uppercase, lowercase, specials.
2. Reversing
- Reverse word
- Reverse sentence word-wise
- Reverse each word
3. Palindrome Checking
- Word palindrome
- Sentence palindrome (ignore spaces)
4. Extracting Characters
- First, last, middle
- Even/odd indexed characters
5. Changing Case
- Lowercase to uppercase
- Uppercase to lowercase
- Toggle case
6. ASCII Based Programs
- Print ASCII values
- ASCII even/odd
- Odd name check
7. Word Based Programs
- Count words
- Longest/shortest word
- Words starting/ending with vowel
- Words with length > 3
- Extract initials
8. Frequency Counting
- Count frequency of any letter
- Count frequency of vowels
- Duplicate letters
9. Remove / Replace
- Remove extra spaces
- Remove vowels
- Replace vowels with '*'
- Replace spaces with '-'
10. Compare Strings
- Manual comparison
- Anagram check (optional)
11. Sorting
- Sort characters alphabetically
- Sort words alphabetically
12. Pattern Printing Using Strings
Example for “HELLO”:
HE
HEL
HELL
HELLO
These include all expected board questions.