Brian Dunning's FileMaker Custom Functions

DeleteMiddleText ( Value ; StringStart ; StringEnd )

Delete text between markers

  Average rating: 4.8 (29 votes) Log in to vote

Ruben van den Boogaard   Ruben van den Boogaard - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
DeleteMiddleText ( "This <#< LEAF THIS OUT >#> is my text" ; "<#<" ; ">#>" )
  Sample output:
"This is my text"

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

This is a recursive CF to delete blocks of text marked between StringStart and StringEnd



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: