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);
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
Post a Comment