Why trim() function is used in php? * 1 point to remove uppercase alphabet to remove underscore to remove lowercase alphabet to remove whitespaces code example
Example: how to trim text php
$text = " hello world ";
$text = trim($text);
=> "hello world"