1$data = "123_String";
2$whatIWant = substr($data, strpos($data, "_") + 1);
3echo $whatIWant;
1$string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla felis diam, mattis id elementum eget, ullamcorper et purus.";
2$prefix = "Nulla";
3$index = strpos($string, $prefix) + strlen($prefix);
4$result = substr($string, $index);
5
1<?php
2$my_url = 'http://www.example.com/5478631';
3echo substr($my_url, strrpos($my_url, '/' )+1)."\n";
4?>
5 // print: 5478631