How to get particular word from string in javascript. The substr() method does not change the original string.

Lawn Fungus