Brian Dunning's FileMaker Custom Functions

GetColumnOfList ( _list ; _column ; _delimiter )

extracts a column from a multi-column list

  Be the first to rate this function Log in to vote

Otmar Kramis   Otmar Kramis - Show more from this author
https://developer.balimusic.ch

Share on Facebook Share on Twitter

  Sample input:
GetColumnOfList ( "1,red,apple,steel¶2,green,pear,wood¶3,blue,orange,rubber¶4,yellow,peach,concrete" ; 3 ; "," )
  Sample output:
"apple¶pear¶orange¶peach"

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

Based on the genius CF CustomList of Agnes Barough.
Since FM12 we gather data with ExecuteSQL, getting lists. Unfortunately we can't query this lists again to extract i.e. just a single column of it, so here you go with a non recursive CF.

 

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: