String.reverse()

Tinderbox Icon


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

List.reverse()

New to v5.8.0, this function reverses the order of the referenced string or string literal. Trailing parentheses are optional for this function.

$MyString = $MyString.reverse() 

$MyString = $MyString.reverse 

$MyString = "man bites dog".reverse() 

The latter gives "god setib nam" not "dog bites man" - it is the order of characters that is reversed, not words within it.


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

Up: Item-based operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : String.reverse()

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