Brian Dunning's FileMaker Custom Functions

RemoveEmptyLines ( Text )

Remove all empty lines or lines with only spaces

  Be the first to rate this function 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:
RemoveEmptyLines ( "¶¶123¶ ¶456¶ ¶789¶¶" )

RemoveEmptyLines ( "¶¶123¶ ¶456¶ ¶789" )
  Sample output:
Return 1:

Return 2:

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

This function is similar to RemoveExtraReturns at
But it adds processing line feature. You can remove other unwanted characters like Tab or CR.

Note: If the value list is ended with more than 1x¶, the result will have a ¶ in the end. As the samples show.



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 19 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: