Hello
I have this $domain="domain.com";
and I want get the text before domain.com , so domain ,
and I want echo on $result only first 4 caracters of domain (doma).
So if i have
$domain="test.com.br"; > echo should return test
$domain="major.net"; > echo should return majo
Anyone can be so pleasant to reply me how to do all this ?
Thank you
Graziano