lastWord("data")

Tinderbox Icon


Operator Type:   Function
Operator Scope of Action:   Item
Operator Purpose:   Data manipulation

lastword("data")

The lastWord() operator has one parameter, data - a quoted a string, and it returns the final word of the data string. The delimiter used to define words is one or more spaces (possibly also line break(s)?).

The data parameter is evaluated so could be an expression. For example, if the note 'First Line' has the body text "Winter is coming.", then $MyString = lastWord($Text("First Line")) should give a result of "coming".


Possible relevant notes (via "Similar Notes" feature):

Up: Full Operator List
Previous: last("item"[,N])  Next: linkedFrom("item"[,linkType]) 

A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : lastWord("data")

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox