2
Hello,
I have the following string:
$string = uniqid(mt_rand(1, 999999))." [email protected]|example123456"
The string above is totally random, the only thing that doesn’t change is [email protected]|example123456
.
I want PHP to only return [email protected]|example123456
.
I Googled to see if there was any snippet or example, but I found nothing.
$str = explode(" ", $string); $userEmail = $str[1];
– user60252
What is the origin of this string? I believe that at some point you have them separately!
– Maurivan