How can I delete the first word from a line?

 

Remove the First Word from a String in JavaScript

 

var original = "quick brown fox jums over the lazy dog";
var result = original.substr(original.indexOf(" ") + 1);

Tags:

Share:

Related posts