Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 1 other subscriber
How to get everything after a certain character in a string?
$string = 'filename.jpg';
$extension = strrchr( $string, '.'); //returns ".jpg"
$data = “123_String”;
$whatIWant = substr($data, strpos($data, “_”) + 1);