Brian Dunning's FileMaker Custom Functions

Conditional Expressions ( txt )

Wrap text content in conditional expressions.

  Average rating: 4.0 (1 vote) Log in to vote

Daniel   Daniel - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
Conditional Expressions ( "... {if 1 + 1 = 2
I will be included!} ..." )
  Sample output:
... I will be included! ...

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

This has not been tested extensively, use it at your own risk or as a starting point! ;) As you can see above, it is recursive, there will be limits to this.

It assumes the expression to test begins after the opening tag ("{if " by default) and ends with a line break/¶.

It's easy to change the opening tag ("oT") and closing tag ("cT").



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: