Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove whitespace from string php

$str = "


Hello World!


";
echo "With trim: " . trim($str);
 
PREVIOUS NEXT
Tagged: #remove #whitespace #string #php
ADD COMMENT
Topic
Name
7+3 =