Q. What does the PHP function trim() do?
β
Correct Answer: (A)
Removes whitespace from the beginning and end of a string
Explanation: trim() removes whitespace or other predefined characters from both ends of a string.