Answers for "get the last fourth character from a string php"

PHP
10

get last character of string php

substr("testers", -1); // returns "s"
Posted by: Guest on March-05-2020
3

take last four digits php

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

Code answers related to "get the last fourth character from a string php"

Browse Popular Code Answers by Language