escape

Escape String

Type: function

Returns: string

Description: The escape function encodes special characters in the specified string and returns the new string. It encodes spaces, punctuation, and any other character that is not an ASCII alphanumeric character, with the exception of these characters:  * @ - _ + . / .

Usage:
 escape ( <string> )

Example 1:

Displayed Text:
Characters%20%21%23%24%20translate%20but%20*@/%20doesn%27t.

Action Tag:
{% escape ( "Characters !#$ translate but *@/ doesn't." ) }

Example 2:

Displayed Text:
# translates to %23, & translates to %26 and = translates to %3d

Action Tag:
# translates to {% escape ( '#' ) }, & translates to {% escape ( '&' ) } and = translates to {% escape ( '=' ) }

 

 

| Home |


November 20, 2003

System resources to generate this page:
1: READ FILE A: /home/action/public_html/_global.shtml (0s)
19: READ FILE A: /home/action/adocs/docs/functions.shtml (0s)
6: READ FILE FAILED: /home/action/public_html/docs/functions.txt (0s)
71: SQL SELECT (FNC): DBI:mysql:action_database:localhost (0s)
75: READ FILE A: /home/action/adocs/docs/inc_docHeader.html (0s)
110: READ FILE A: /home/action/adocs/docs/inc_trailer.html (0s)