I need a code to get the first and second number from a PHP string.
$string = "ACCESS_NUMBER:160375356:13176570247"; $stringOne = ""; $stringTwo = "";
I need a code that can get 160375356 and store it in $stringOne and also get this 13176570247 and store it in string $stringTwo
I don't want to count the string, I need a code that can get the string via: sign
There are already a lot of answers here, but not a really clean answer yet. How about it: