You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
$sub_string = 'rayy@';
|
|
$str = 'rayy@example.com';
|
|
if (substr($str, 0, strlen($sub_string)) == $sub_string)
|
|
{
|
|
$str = substr($str, strlen($sub_string));
|
|
}
|
|
echo $str."\n";
|
|
?>
|