UrlDecode

From CometWiki

Jump to: navigation, search

Changes characters which were encoded by the browser to their ascii equivalents...

A$ = urldecode(a$)


  """          decodes to """
  "'"          decodes to "'"       
  "&lt;"  	    decodes to "<"      
  "&gt;"  	    decodes to ">"      
  "&amp;" 	    decodes to "&"      
  "&nbsp;"	    decodes to " "      
  "+"		    decodes to " "
  "%3B"             decodes to  ";"	
  "%3F"             decodes to  "?"	
  "%2F"             decodes to  "/"	
  "%3A"             decodes to  ":"	
  "%23"             decodes to  "#"	
  "%26"             decodes to  "&"	
  "%3D"             decodes to  "="	
  "%2B"             decodes to  "+"	
  "%24"             decodes to  "$"	
  "%2C"             decodes to  ","	
  "%20" or "+"      decodes to  "<space>"
  "%25"             decodes to  "%"
  "%3C"             decodes to  "<"
  "%3E"             decodes to  ">"
  "%7E"             decodes to  "~"
  "%25"             decodes to  "%"
   Note that because the <space> character is very commonly used, a special code ( the "+" sign) 
   has been reserved as its URL encoding.  
   Thus the string "A B" can be URL encoded as either "A%20B" or "A+B".

 

Personal tools