Brian Dunning's FileMaker Custom Functions

Encode ( text ; code ; startValue )

A simple encoder

  Average rating: 4.2 (36 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
  Sample output:
"1 2 3 "
"0 1 2 "

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

Encode function

Daniele Raybaudi and friends

Encode ( text ; code ; startValue )

text - any text expression or text field
code - a string of positioned characters
startValue - the number to assign to the first character of code

Data type returned

Returns a number, chosen by the position assigned to any individual character, for all characters of the Text.
It add also a space between numbers.
It isn't case sensitive.



Log in to post comments.


Note: these functions are not guaranteed or supported by 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 16 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: