<?php $email = "jim@gmail.com"; $username = substr( explode("@", $email)[0], 0, 5 ); echo $username;
You have javascript disabled. You will not be able to edit any code.