Brian Dunning's FileMaker Custom Functions

RemoveEmptyValues ( Text )

Remove empty lines of return-seperated text.

  Average rating: 4.5 (40 votes) Log in to vote

Koji Takeuchi   Koji Takeuchi - Show more from this author
TonicNote, Inc.

Share on Facebook Share on Twitter

  Sample input:
RemoveEmptyValues ( "A¶¶¶B¶C¶" )
  Sample output:

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

RemoveEmptyValues ( Text )
2011.03.25, Koji Takeuchi

Remove empty lines of return-seperated text.
Text = source text
"A¶¶¶B¶C¶" or
List ( TO::Field ) or
ValueListItems ( Get ( FileName ) ; "ValueListName" )

RemoveEmptyValues ( "A¶¶¶B¶C¶" )
-> "A¶B¶C"



Martin   Martin
Mar 31, 2011
Can also be done with the CF "RemoveExtraReturns ( text ):

Koji Takeuchi   Koji Takeuchi, TonicNote, Inc.
Mar 31, 2011

Thanks, Martin.
Sorry for lazy to searching, but I leave this here to just offering a variation :)

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