A

Admin • 833K Points
Coach

Q. Which function is used to remove white spaces from both ends of a string?

  • (A) trim()
  • (B) strip()
  • (C) cut()
  • (D) remove()
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

trim() removes whitespace from both ends of a string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.