TextFontRemove
 
Purpose 
Removes all fonts or the fontToRemove from specified text.
Format 
TextFontRemove(text{;fontToRemove})
Parameters 
text - any text expression or text field.
fontToRemove - any font name expressed in text.
Parameters in braces { } are optional.
Note  TextFontRemove no longer uses the fontScript parameter.
Data type returned 
text
Originated in 
FileMaker Pro 8.0
Description 
Use this function to revert text to the default for the field. If you don’t specify a font, all of the text displays in the default font that was set in Layout mode for the field. When the font is specified by fontToRemove, only the specified font is removed from every portion of the text displayed in that font and these same portions of the text are then displayed in the field's default font.
Spellings for font names must be correct. Text formatting options will be lost if the field type that is returned is something other than text.
Examples 
TextFontRemove(“Arial Text and Courier Text”) returns Arial Text and Courier Text displayed in the field’s default font.
TextFontRemove(“Arial Text and Courier Text”; “Arial”) returns Arial Text and Courier Text with the Arial font removed from the words Arial Text.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Formatting text