Reference > Functions reference > Text formatting functions > TextSizeRemove
 
TextSizeRemove
Purpose 
Removes all font sizes in text or the font sizeToRemove.
Format 
TextSizeRemove(text{;sizeToRemove})
Parameters 
text - any text expression or text field.
sizeToRemove - any font size expressed as an integer.
Parameters in braces { } are optional.
Data type returned 
text
Originated in 
FileMaker Pro 8.0
Description 
Use this function to revert text to the default font size for the field. If you don’t specify a size, all of the text displays in the default font size that was set in Layout mode for the field. When the font size is specified by sizeToRemove, only the specified font size is removed from every portion of the text displayed in that size and these same portions of the text are then displayed in the field's default font size.
The font size is described in points (72 points to the inch). Text formatting options will be lost if the field type that is returned is something other than text.
Examples 
TextSizeRemove ( "10 Point Text and 18 Point Text" ) returns 10 Point Text and 18 Point Text displayed in the field’s default font size.
TextSizeRemove ( "10 Point Text and 18 Point Text" ; 18 ) returns 10 Point Text and 18 Point Text with the 18 point font size removed from the words 18 Point Text.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Formatting text