Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

inbuilt javascript functions for last word check

function test(words) {

var n = words.indexOf(" ");
var res = words.substring(n+1,-1);
return res;

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #inbuilt #javascript #functions #word #check
ADD COMMENT
Topic
Name
4+5 =