Brian Dunning's FileMaker Custom Functions

GetColumnValue ( fromData ; whereColumnNumber ; equalsThisValue ; returnColumnNumber ; columnSeparator ; rowSeparator )

Get values from specified column number, when a single matching value is found.

  Be the first to rate this function Log in to vote

Daniel Smith   Daniel Smith - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
GetColumnValue ( "1|dan|m¶2|amy|f¶3|joe|m" ; 3 ; "m" ; 2 ; "|" ; "" )
  Sample output:
dan¶joe

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

Extract a specific value from delimited input data by matching a value in the same row. Originally written to parse the (stored) output of `GetContainerAttribute ( Containers::container ; "all" )`.

 

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: