Skip to main content

TURL_ToURLEncoded (function reference)

By October 1, 2021October 13th, 2021Online Help, Troi URL plug-in
Troi URL Plug-in > Functions reference > TURL_ToURLEncoded
Troi URL Plug-in for FileMaker Pro

TURL_ToURLEncoded

URL encodes text (also known as percent-encoding).

SyntaxFunction badge

TURL_ToURLEncoded ( switches ; text )

Parameters

switches not used, reserved for future use. Leave blank or put "-Unused"
text the text to encode

Returned Result

Data type returned

text

Result

Returns the URL Encoded text

Originated in

Troi URL Plug-in 2.6

Compatibility

FileMaker Pro 16 to 19

Considerations

Note that the text is first converted to UTF-8 bytes, which makes it possible for higher Unicode characters to be encoded too.

See also http://en.wikipedia.org/wiki/Percent-encoding.

Example

TURL_ToURLEncoded ( "-Unused" ; "Hello World!" )

this will give as result:
“Hello%20World%21”

Related functionFunction badge

TURL_ToHTTP

Related topics

Troi URL Plug-in online help (overview)


Online Help Page for Troi URL Plug-in for 16 to 19 –> TURL_ToURLEncoded (urlp4417) 2021-1013 16:39:07

troi.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping us to understand which sections of the website you find most interesting and useful.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.