[TOC] [Prev] [Next] [Bottom]



<@URLENCODE>

Syntax

<@URLENCODE STR=string>

Description

Makes this string specified in STR compatible for inclusion in a URL by escaping characters that have special meaning in URLs, such as spaces and slashes according to the protocol specified in RFC 1630.

This tag works exactly like the ENCODING=URL attribute, but can be used to URL-encode any value.

Examples

<@URLENCODE STR="Hello World">

This example returns "Hello%20World".

<@URLENCODE STR="<@ACTIONRESULT NAME='action1' NUM='1'>">

This example returns the result of the <@ACTIONRESULT> with special characters escaped.

See Also

<@URL>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.