Brian Dunning's FileMaker Custom Functions

GetMatchValueInList ( ValueList, Seperator, MatchText )

Search in a value list for MatchText, then return the rest seperated by Seperator

  Average rating: 3.6 (7 votes) Log in to vote

Philip Wang   Philip Wang - Show more from this author
106th Street Wheel and Tire

Share on Facebook Share on Twitter

  Sample input:
MatchValueList( "apple - fruit ¶iron - metal" , " - " , "apple" )

MatchValueList( "apple - fruit - Company ¶iron - metal" , " - " , "apple" )

MatchValueList( "Rose is red ¶Sky is blue" , " is " , "sky" )
  Sample output:

fruit - Company


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

It allows me to store value pairs in value list. Very useful to retrieve corresponding values I need.
Please be very careful with the separator: For example: For the pair "Apple - Fruit", the separator is " - ", not just simple "-" .



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: