../../Task/Split-a-character-string-based-on-change-of-character/JavaScript