I want split a string to array by Case Sensitivity. like
$str = 'CreateTechBook' 
convert to
 array('Create','Tech', 'Book')
                function splitCamelCase($str) {
    return preg_split('/(?<=\\w)(?=[A-Z])/', $str);
}
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With