Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes


top source mg_urlquote

result = mg_urlquote(s [, safe=string] [, /unquote] [, /plus])

Replace special characters in the input string using the %xx escape codes.

Return value



s in required type=string

string to quote


safe in optional type=string

string of safe characters, i.e., ones that don't need replacing

unquote in optional type=boolean

set to unquote instead of quote

plus in optional type=boolean

set to quote/unquote plus

File attributes

Modification date: Wed Jul 6 13:04:32 2011
Lines: 40
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.