As to the "_" displays a value in PHP?

Tell me the string function in PHP?
Which string function to use to get rid of "297312816_"?
297312816_456240895
March 19th 20 at 08:25
3 answers
March 19th 20 at 08:27
Solution
$s = "297312816_456240895";
$s = explode("_", $s);
$s = $s[1];
March 19th 20 at 08:29
Solution
$a=explode("_", "297312816_456240895");
echo $a[1];
March 19th 20 at 08:31
You can still a regular expression:
$str = '297312816_456240895';
$str = preg_replace('/.+_/', ", $str);
echo $str;
How to get "access_key"?
Already read the documentation and did not understand.(vk.com/dev/access_key) - blair commented on March 19th 20 at 08:34

Find more questions by tags PHP