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

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -