IsPlainText ( text )
Returns True (1) if text has no text formatting applied to it; otherwise returns False (0).
Average rating: 4.5 (31 votes) Log in to vote
Michael Horak - Show more from this author
*COMMENT Visual Realisation |
IsPlainText ( TextFormatRemove ( TextStyleAdd ( "abc" ; bold ) ) )
1
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns True (1) if text has no text formatting applied to it, in whole or in part; otherwise returns False (0).
Text formatting includes styles (Bold, Italic, Underline, etc.), fonts, font sizes, and font colors.
This function is NOT recursive.
Comments
Daniele Raybaudi, ACI Nov 23, 2013 |
||
Hi Michael if we need to verify even the alignment, then I do not see other way than this: TextToCSS ( StartDate ) = TextToCSS ( TextFormatRemove ( StartDate ) ) where TextToCSS is a custom function. |
||
Daniele Raybaudi, ACI Nov 23, 2013 |
||
Edit: TextToCSS ( text ) = TextToCSS ( TextFormatRemove ( text ) ) |
||
comment, VR Nov 23, 2013 |
||
I didn't want to go that far, because FMI didn't either - but if anyone needs it, Daniele's TextToCSS function is at: http://www.briandunning.com/cf/1586 |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.