Answers for "how to set length of character in php"

PHP
3

take last four digits php

$newstring = substr($dynamicstring, -7);
Posted by: Guest on May-04-2020
2

php string length

$str = 'abcdef';
echo strlen($str); // 6
Posted by: Guest on July-14-2020

Code answers related to "how to set length of character in php"

Browse Popular Code Answers by Language