DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php limit string length
if (strlen($str) > 10) $str = substr($str, 0, 7) . '...';
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#limit
#string
#length
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit