DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+5 =
Submit