This seems like it should be a very easy thing to do but I cannot seem to find it anywhere.
How can I use Javascript split() to split the string after a certain word that starts with say abcd.... so if I have "abcdHello one two three" , I would get " one two three". I am assuming that the abcd.... word will be at the beginning of the string. Thanks!
var allClassesString = $('.'+ui.item.overRow).find('.span12').attr('class');
var truncClassesString = allClassesString.split('span^'); // or span* - neither one works.
replace()thansplit()use-case.