ICSE Class 10 Computer Applications
Question 16 of 30
Solved Sample Paper 2 — Question 16
Back to all questions 16
Question Question 1(xvi)
A string function which removes the blank spaces provided in the prefix and suffix of a string.
- String.trim()
- String.ltrim()
- String.rtrim
- String.strim
String.trim()
Reason — String.trim() function removes the blank spaces provided in the prefix and suffix of a string.