1 2 3 4 5 6 7 8 9 10 11 |
<?php $substring = 'admin@'; $str1 = 'admin@algoritmaornekleri.com'; if (substr($str1, 0, strlen($substring)) == $substring) { $str1 = substr($str1, strlen($substring)); } echo $str1."\n"; ?> |
1 2 3 |
algoritmaornekleri.com |
Add Comment