How to split a word or sentence delimited with slashes, commas or hyphens
How to split a word or sentence delimited with slashes, commas or hyphens
How to split a word or sentence delimited with slashes,commas, dots, or hyphens
< ?php // Delimiters may be slash, comma, or hyphen $data = "Welcome to, the world of php"; list($first, $second) = split('[/,-]', $data); echo "First Letter: $first; Second Splitted letter: $second \n"; ?>
How to split a word or sentence delimited with slashes, commas or hyphens,