Answers for "regex search string and split php"

PHP
0

preg_split

<?php
$str = 'string';
$chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
print_r($chars);
?>
Posted by: Guest on September-10-2020

Code answers related to "regex search string and split php"

Browse Popular Code Answers by Language