DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php remove space before and after string
$words = ' my words '; $words = trim($words); var_dump($words); // string(8) "my words"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#remove
#space
#string
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit