![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Text formatting functions > TextStyleRemove function |
|
|
| TextStyleRemove function |
| Format |
TextStyleRemove(text;styles) |
| Parameters |
| text - any text expression or text field |
| styles - any named style from the list of available styles |
| Data type returned |
| text |
| Description |
| An additional style called AllStyles has been provided to make it easier to remove all styles. Text formatting options will be lost if the data type that is returned is something other than text. |
| The styles that are available are: |
| Plain |
| Bold |
| Italic |
| Underline |
| Condense |
| Extend |
| Strikethrough |
| SmallCaps |
| Superscript |
| Subscript |
| Uppercase |
| Lowercase |
| Titlecase |
| WordUnderline |
| DoubleUnderline |
| AllStyles (all available styles) |
| Examples |
| TextStyleRemove("Plaid";Italic) returns the word Plaid with the italics style removed. |
| TextStyleRemove(FirstName;Bold + Underline) returns Sophie with the bold and underlined styles removed when the FirstName field contains Sophie. |
| TextStyleRemove(FirstName;AllStyles) returns Sophie without any styles. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Text formatting functions > TextStyleRemove function | Next Page |