Preg Split

[Solved] Preg Split | Perl - Code Explorer | yomemimo.com
Question : preg_split

Answered by : uninterested-unicorn-bzvu2pg94gj3

<?php
$str = 'string';
$chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
print_r($chars);
?>

Source : | Last Update : Thu, 17 Sep 20

Answers related to preg split

Code Explorer Popular Question For Perl