Answers for "php get characther after"

PHP
5

php get string after character

$data = "123_String";    
$whatIWant = substr($data, strpos($data, "_") + 1);    
echo $whatIWant;
Posted by: Guest on April-27-2020

Browse Popular Code Answers by Language