Page 1 of 1

Which of these method of class String is used to remove leading and trailing whitespaces?

Posted: Wed Jul 13, 2022 7:46 pm
by answerhappygod
a) startsWith()
b) trim()
c) Trim()
d) doTrim()