Brian Dunning's FileMaker Custom Functions

getAsURLEncoded.polyfill ( text_in )

Patch for the built in GetAsURLEncoded function.

  Be the first to rate this function Log in to vote

Tony White   Tony White - Show more from this author
Tony White Designs, Inc.
http://www.twdesigns.com/

Share on Facebook Share on Twitter

  Sample input:
getAsURLEncoded.polyfill ( "!__'__(__)__*__:" )
  Sample output:
%21__%27__%28__%29__%2A__%3A

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Patch for the built in GetAsURLEncoded function. There are 6 characters that are Reserved as per RFC 3986 and NOT encoded by the built in GetAsURLEncoded function. This CF patches/polyfills the GetAsURLEncoded function.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: