Reverse Function Example

Details

Action

A MathScript Function that reverses the order of the elements in a list.

Example

program backword (st wrd) {

pack(reverse(explode(wrd)));

}

print backword("America") writes: aciremA in a Text Field