[Solved] How to get the last part of a string in Javascript
var ws=”Hello World” var w=’Hello World the weather is fine.’ var ss=w.split(ws); for(i=0;i<ss.length;i++){ if(ss[i].length>0) console.log(ss[i]); } 2 solved How to get the last part of a string in Javascript