Explode string with delimiter using PHP function explode
Try the PHP function
explode online. This tool splits /explodes any string based on the delimiter given.
explode. It can cut a string based on a delimiter. There are no particular restrictions on the use of this function.
The output is an array type. It is therefore easy to handle in a script.