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