Answers for "how get elements before an specific character in php"

PHP
0

php get string before character

$arr = explode("/", $string, 2);
$first = $arr[0];
Posted by: Guest on November-28-2020

Code answers related to "how get elements before an specific character in php"

Browse Popular Code Answers by Language