Brian Dunning's FileMaker Custom Functions

cf_compareStrings ( stringWildcard ; stringCompare ; wildChar )

Compare two text strings containing a wildcard.

  Be the first to rate this function Log in to vote

Witschi   Witschi - Show more from this author
Medio-Ingeno AG
https://medio-ingeno.ch

Share on Facebook Share on Twitter

  Sample input:
cf_compareStrings ( "myfile*.xml" ; "myfile243535.xml" ; "*" )
  Sample output:
1

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

Compare two text strings with each other to see if they match. One string contains a
wildcard character that stands for one or more arbitrary characters. The wildcard
character can be chosen freely but must occur only once in the string. If they match
1 is returned, otherwise 0.

 

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: