str::after($string, $after)

Returns the end of the string after the given character

  • $string (string)
  • $after (string)
    Character(s) to start after
  • return (string)
    The end of the string

Example

<?php

echo str::after('string', 'r');
// output: ing