Search
 
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
Name
4+7 =