Brian Dunning's FileMaker Custom Functions

Levenshtein_Array_Clean ( lenStr1 ; lenStr2 ; i ; j ; pad )

Sub-function, called by the Levenshtein function to clean up after itself.

  Average rating: 4.3 (32 votes) Log in to vote

Steve Allen   Steve Allen
Richard Carlton Consulting, Inc.
http://www.rcconsulting.com

Share on Facebook Share on Twitter

  Sample input:
Levenshtein_Array_Clean( 4 , 3 ; 1 ; 1 ; "000" )
  Sample output:
"Cleaned"

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

Sub-function, called by the Levenshtein function to clean up after itself.

Best viewed in a large space. (i.e. - the code box on briandunning.com is not big enough to make the whitespacing show properly [word wrap pretty much destroys it]. :) )

 

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: