Category: Text Formatting
Syntax: TextStyleRemove ( text; style(s) ) |
Parameters:
textAny text string or expression that returns a text string.
styleAny named style or list of styles separated by a plus (+) sign, or an integer that represents a combination of styles. Named styles should not be placed in quotation marks and cannot be passed as field contents.
Data type returned: Text
Description:
Removes the specified styles from formatted text.
Removing AllStyles with TextStyleRemove() accomplishes the same thing as adding Plain with TextStyleAdd().
See TextStyleAdd() for a complete list of styles and a discussion of their numeric equivalents.
Examples:
Function | Results |
---|---|
TextStyleRemove ("word underline"; WordUnderline) | Removes the word underline formatting from the phrase "word underline". |
TextStyleRemove ("bold italic!"; bold+italic) | Removes the bold and italic formatting from the phrase "bold italic!". |
TextStyleRemove (sampleText; AllStyles) | Removes all formatting styles from the contents of the variable sampleText. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information