MCQs > IT & Programming > PHP > How to remove whitespace from the beginning and end of $string variable?

PHP MCQs

How to remove whitespace from the beginning and end of $string variable?
 

 

Answer

Correct Answer: trim($string);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it