DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js cut string after last char
var s = '/Controller/Action?id=11112&value=4444'; s = s.substring(s.lastIndexOf('/'), s.length);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#cut
#string
#char
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit