I want to split a string,
str = "splitMeIfYouCan";
What I want is,
var str = "splitMeIfYouCan"; var splitStr = str.split(/[A-Z]/); //then a for loop to make them lower Case
[ 'split', 'e', 'f', 'ou', 'an' ]
.split() did is cut all Upper Case letters. But I need those letters. Do you have any suggestions?