How do you split a string into an array in Javascript by UpperCase character?
So I wish to split:
\'ThisIsTheStringToSplit\'
into <
This is my solution which is fast, cross-platform, not encoding dependent, and can be written in any language easily without dependencies.
var s1 = "ThisЭтотΨόυτÜimunəՕրինակPříkladדוגמאΠαράδειγμαÉlda"; s2 = s1.toLowerCase(); result=""; for(i=0; i