Top Solutions

JavaScript function to return last word

In this article, I will show you how to return last word (string) using JavaScript. The function will receive the textbox value and split using (.split) string functions in jQuery.