How to get last 7 characters of a PHP string (updated) [closed]

s20

New Member
\[quote\] Possible Duplicate:
PHP - cut a string after X characters \[/quote\]How would I go about grabbing the last 7 characters of the string blow?For example:\[code\]$dynamicstring = "2490slkj409slk5409els";$newstring = some_function($dynamicstring);echo "The new string is: " . $newstring;\[/code\]Which would display - \[code\]The new string is: 5409els\[/code\]
 
Back
Top