Answers for "string explode by | in php"

PHP
27

php explode

$colors  = "red,blue,green,orange";
$colorsArray = explode(",", $colors);
Posted by: Guest on June-14-2019
3

php explode end

$url = explode("/", URL::current());
echo end($url);
Posted by: Guest on July-08-2020

Browse Popular Code Answers by Language