Last Updated: February 25, 2016
·
787
· jverdeyen

Split string at capitalized letters

In case you want to split a string at capitalized letters:

pregsplit('/(?=[A-Z])/', $string, null, PREGSPLITNOEMPTY));