This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

StyledString.strike()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Formatting  [other Formatting operators]

 Baseline

 As at baseline


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses


StyledString.strike()

StyledString.strike

The function sets the referenced string's (RTF) styled text to stuck-through text.

$Text = $Text + "This is " + "some".strike + " text".plain; 

adds "this is some text" to the end of $Text. The '.plain' command reasserts no style is to be applied.

Note that $Text is currently the only attribute capable of holding styled text. String attributes and action code variables, i.e. var, cannot store styled text. If passed styled text the latter will store the unstyled version of the text being passed. See a more detailed explanation.

String operators respecting StyledString operators

String.paragraphs(), String.replace() and String.substr().