Brian Dunning's FileMaker Custom Functions

TrimReturns ( text )

Trims leading and trailing paragraph returns.

  Average rating: 3.9 (50 votes) Log in to vote

Kieren MacMillan   Kieren MacMillan

Share on Facebook Share on Twitter

  Sample input:
TrimReturns ( "


is the

" )
  Sample output:

is the

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

Trims leading and trailing paragraph returns, but could easily be modified to trim any other desired character(s), e.g., tab, space, period, etc.



Steve   Steve, Broomall, PA
Jul 12, 2014
Very nice and simply elegant. I tried for about an hour to do this....should've came here first! :)
Thanks for sharing.

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.