get the string after a character in php
snippet in php

get the string after a character in php

user140

$data = "123_String";    
$whatIWant = substr($data, strpos($data, "_") + 1);    
echo $whatIWant;