Remove beginning of PHP string until it's 13 characters? -


i have variable needs it's value's shortened until 13 characters. needs chop off characters beginning of string. built php?

the following should work you:

$str = substr($str, -13); 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -