πŸ“Š PHP
Q. Which function is used to remove whitespace from the beginning and end of a string?
  • (A) trim()
  • (B) strip()
  • (C) remove()
  • (D) clean()
πŸ’¬ Discuss
βœ… Correct Answer: (A) trim()

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

Explanation by: Rati Dubey
trim() removes whitespace from both ends of a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
62
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
87%
Success Rate