Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to trim text php

$text = "      hello world   ";
$text = trim($text);

=> "hello world"
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #trim #text #php
ADD COMMENT
Topic
Name
5+1 =