Remove last word from a string javascript. It takes two arguments: the start index and the end index.

Lawn Fungus