Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check if url ends with slash

url = url.replace(//?$/, '/');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #check #url #ends #slash
ADD COMMENT
Topic
Name
9+4 =