Q. Which PHP function trims whitespace from both ends of a string?

  • (A) strip()
  • (B) trim()
  • (C) clean()
  • (D) remove_space()
πŸ’¬ Discuss
βœ… Correct Answer: (B) trim()
Explanation: trim() removes whitespace from both ends.
Explanation by: Mr. Dubey
trim() removes whitespace from both ends.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
66
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate