Show Output
PHP Remove White Space from a String
"; $trimmed_str = trim($my_str); echo "No of characters after removing whitespace - " . strlen($trimmed_str); // Outputs: 28 ?>