Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Text functions > GetAsURLEncoded function

GetAsURLEncoded function
Format

GetAsURLEncoded(text)
Parameter
text - any text expression or text field
Data type returned
text
Description
Returns text as URL (Uniform Resource Locator) encoding, for use as a URL. Removes all styles from text.
All characters are first converted to UTF-8 format. Characters that are neither letters nor digits, or digits that are in the upper ASCII range, are converted to %HH format (a percent sign followed by the character's hexadecimal value).
See the following website for more information on URL encoding:
http://www.w3.org
Examples
GetAsURLEncoded("Hello") returns Hello
GetAsURLEncoded("San Francisco") returns San%20Francisco
GetAsURLEncoded("français") returns fran%c3%a7ais
Related topics
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Defining a custom web address

Contents > Functions reference (alphabetical list) > Text functions > GetAsURLEncoded function
Previous
Page
Next
Page