Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php short string

echo mb_strimwidth("Hello World", 0, 10, "...");
// output: "Hello W..."
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #short #string
ADD COMMENT
Topic
Name
5+4 =