Brian Dunning's FileMaker Custom Functions

encodeURI ( _url )

It's a custom function with the same purpose as javascript's encodeURI function.

  Be the first to rate this function Log in to vote

Teruhiro Komaki   Teruhiro Komaki - Show more from this author
frudens Inc.
https://frudens.jp

Share on Facebook Share on Twitter

  Sample input:
encodeURI ( "http://username:password@www.example.com:80/path/to/日本語.php?foo=316&bar=this+has+spaces#anchor" )
  Sample output:
http://username:password@www.example.com:80/path/to/%E6%97%A5%E6%9C%AC%E8%AA%9E.php?foo=316&bar=this+has+spaces#anchor

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

It's a custom function with the same purpose as javascript's encodeURI function.

Created by referring to the following URL.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI
https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/encodeURI

 

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: