Source Code:
(back to article)
<?php $string = 'Hello World'; $character = 'W'; $offset = strpos($string, $character); $everything_after = substr($string, $offset); echo $everything_after; // Outputs "World"
Result:
Report an issue