A

Admin • 828.03K Points
Coach

Q. Which function is used to remove whitespace from both sides of a string?

  • (A) trim()
  • (B) strip()
  • (C) clean()
  • (D) chop()
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
trim() removes whitespace from the beginning and end of a string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.