TrimReturns ( text )
Trims leading and trailing paragraph returns.
Average rating: 3.9 (51 votes) Log in to vote
|
Kieren MacMillan kierencom http://www.kierencom.ca |
this
is the
text
" )
is the
text
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.
Comments
| Steve, Lancaster 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. |
||
| João Coutinho Jun 19, 2019 |
||
| Love the result :) Thanks! |
||
| Robert D Trammel Sep 8, 2023 |
||
| Substitute( Trim( Substitute( ; "¶"; " " ) ); " "; "¶" ) works too! :) | ||
| Robert D Trammel Sep 8, 2023 |
||
| Substitute( Trim( Substitute( YourListHere ; "¶"; " " ) ); " "; "¶" ) | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.