Question and answer is powered by AnsPress.io
I have a string value, here I want to get the last 3 characters from the string value using Core PHP. How can I get the last 3 characters from a string in PHP?
If my string value is:
$string=”UGHJ679″;
I want to print 678 form this string.