I'd like to be able to split up a string based on a substring delimiter, starting the split before the first character of the delimiter substring. Currently:
var string = "choc: 123 choc: 328 choc: 129";
string.split("choc");
Will give me ["", ":123 ", ": 328", ": 129"], but I am looking to get ["choc: 123 ", "choc: 328", "choc: 129"], instead.
 
     
    