decode

decode given value (default: base-64)


Parameters

decode value :string :literal :pathliteral

Attributes

urldecode URL based on RFC3986

Returns

  • :string
  • or  :nothing

Examples

copy
print decode "TnVtcXVhbSBmdWdpZW5zIHJlc3BleGVyaXM=" ; Numquam fugiens respexeris

copy
print decode.url "http%3A%2F%2Ffoo+bar%2F" ; http://foo bar/

Related