Answers for "how to get last word from url in javascript"

1

get last word in string js

function test(words) {
    var n = words.split(" ");
    return n[n.length - 1];
}
Posted by: Guest on May-04-2021
0

javascript get last element of sstring

sdfsdfas
Posted by: Guest on April-17-2021

Code answers related to "how to get last word from url in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language