MagicDecoder ( theText ; theCode )
Simple substitution decoder like the Magic decoder ring found in cereal boxes
Average rating: 4.0 (31 votes) Log in to vote
DataIsland Software LLC
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This function takes any text string encoded with the MagicEncoder function and decodes it based on the position of letters in the "theCode" string. The example uses theCode "thequickbrownfxjmpdvlazygs ". Note the space at the end of the string. The space can be placed anywhere and will be encoded as the matching letter in the "alpha" string. To work properly both the alpha string and theCode must contain all the letters present in theText. Obviously you must use the same code to decode as you used to encode.
Note that case is not preserved.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.