Hi, I want to change the display username, for example abcd@somedomain.com , only to abcd. so for this I have to pin the part starting with @.
I can do this very easily through the variablename.substring () function in Java or C #, but I don't know with the PHP syntax. So help me do this.
Suppose that I m ββhas a type variable.
$username = " abcd@somedomain.com "; $username = some
the string manipulation function should be called here; so echo $ username; can only lead to abcd.
source share