Split Camel Case

<?php
function splitCamelCase($str) {
return preg_split('/(?<=\w)(?=[A-Z])/', $str);
}
?>

0 Comments

You must be logged in to post a comment.