Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove whitespace from string php

$str = "


Hello World!


";
echo "With trim: " . trim($str);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #whitespace #string #php
ADD COMMENT
Topic
Name
6+2 =