DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php string length
<?php
$str
=
'abcdef'
;
echo
strlen
(
$str
)
;
// 6
$str
=
' ab cd '
;
echo
strlen
(
$str
)
;
// 7
?>
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#php
#string
#length
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit