Which of these methods of class String is used to remove leading and trailing whitespaces?
Posted: Wed Jul 13, 2022 7:57 pm
a) startsWith()
b) TrimEnd()
c) Trim()
d) TrimStart()
b) TrimEnd()
c) Trim()
d) TrimStart()
Accurate answers. Every time.
https://answerhappy.com/