Answers for "display only 10 characters and ... in php"

PHP
14

php get first character of string

$firstStringCharacter = substr("hello", 0, 1);
Posted by: Guest on October-19-2019
1

only display part of string php

substr('abcdef', 1);     // bcdef
substr('abcdef', 1, 3);  // bcd
substr('abcdef', 0, 8);  // abcdef
substr('abcdef', -1, 1); // f
Posted by: Guest on August-21-2020

Code answers related to "display only 10 characters and ... in php"

Browse Popular Code Answers by Language