Brian Dunning's FileMaker Custom Functions

cleanAndPlainText ( theText )

trims leading and trailing spaces and return characters and tab characters, and removes text styling at the same time

  Be the first to rate this function Log in to vote

Peter Gort   Peter Gort - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
cleanAndPlainText ( " 12¶5¶" )
  Sample output:
"12¶5"

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

Calls itself recursively while any leading or trailing character is a space, tab, or return character and removes text styling at the same time.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. 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 20 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: