TextStyleRemove()

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



FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net