Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
UTF
trim
UTF::trim PHP Method
UTF Class Documentation
Mostra file
Open project: bcosca/fatfree-core
trim()
public
method
Strip whitespaces from the beginning and end of a string
public
trim
(
$str
) :
string
$str
string
return
string
function trim($str) { return preg_replace('/^[\\pZ\\pC]+|[\\pZ\\pC]+$/u', '', $str); }
UTF
bom
emojify
ltrim
rtrim
stripos
stristr
strlen
strpos
strrev
strstr
substr
substr_count
translate
trim