How to detect the last 2 words using javascript – stackoverflow.com

Hi sorry for the simple question but how can I detect the last two words in the String? Let say I have this var var sample = "Hello World my first website"; How can I get the last two words ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How to detect the last 2 words using javascript – stackoverflow.com"