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
ACI
http://www.aci.it

Share on Facebook Share on Twitter

  Sample input:
Encode("abc";"abcdef";1)
Encode("abc";"abcdef";0)
  Sample output:
"1 2 3 "
"0 1 2 "

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

Encode function

Author
Daniele Raybaudi and friends

Format
Encode ( text ; code ; startValue )

Parameters
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
text

Description
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.

 

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.

Under construction. Email me your wish list for improvements.