<?php $string = "lucas.beyeler@4linux.com.br"; $substring = substr(strpos($string, '@'), 0, $string); echo $substring;
You have javascript disabled. You will not be able to edit any code.