'ThisIsTheStringToSplit'.split(/(?=[A-Z])/); // positive lookahead to keep the capital letters
"thisIsATrickyOne".split(/(?=[A-Z])/);