PHP separate two strings
P粉491421413
P粉491421413 2024-04-02 08:57:35
0
1
271

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

P粉491421413
P粉491421413

reply all(1)
P粉875565683

There are already a lot of answers here, but not a really clean answer yet. How about it:


See: https://3v4l.org/GjOUH

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!