The ____ procedure of the String class is used to remove spaces from the string.

Computer Science
Tutor: None Selected Time limit: 1 Day

The ____ procedure of the String class is used to remove spaces from the string.

A.TrimSpaces
       
B.TrimEnds
       
C.Trim
       
D.TrimEndSpaces

Jun 21st, 2015

Thank you for the opportunity to help you with your question!

The trim() function removes whitespace and other predefined characters from both sides of a string.

Related functions:

  • ltrim() - Removes whitespace or other predefined characters from the left side of a string
  • rtrim() - Removes whitespace or other predefined characters from the right side of a string
best of luck dear ..... if you want to know any specific language inbox me i will send you correct answer according to language like  java. c++ or c etc.
I will be here for you. you did not mention the programming language for which you need string class method.

thanks :)

Please let me know if you need any clarification. I'm always happy to answer your questions.
Jun 21st, 2015

you mean the answer is c right

Jun 21st, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Jun 21st, 2015
...
Jun 21st, 2015
Dec 11th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer