/**
 * Return the remainder of a string after the first occurrence of a given value.
 *
 * @param string $search Search
 *
 * @return self Returns instance of The Strings class.
 */
public function after(string $search): self

Examples

$string = Strings::create('SG-1 returns from an off-world mission')->after('SG-1');

echo $string;

The above example will output:

 returns from an off-world mission

Getting Started

Methods