Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
anEscapedString = aString.escapeURI(codepage)
anEscapedString = escapeURI(LITERAL, codepage)
Semantics

The string is escaped to conform with URI encoding as defined in RFC 2396. The codepage defines the target encoding, e.g. web forms accept parameters in the same encoding as the website (e.g. ISO-8859-1). The return value is a string.

Info

Parameters of URLs must be encoded value by value.

SubstitutablesaString Can be any variable or object attribute having the type String.  
codepage A string with the name of the target codepage.
LITERAL String literal.
Examples
Code Block
languagenone
set escaped = concat("http://www.acme-corp.com/?name=", escapeURI("Müller", "iso-8859-1")); 
The escaped string will have the value http://www.acme-corp.com/?name=M%fcller.
rp
Panel
titleRelated Pages: