DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js get word before question mark
var str = "/root/Users?SkillId=201;" str = str.replace(/?.*$/g,""); console.log(str);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#word
#question
#mark
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit