# /tr

Usage:

/REQUIRE tr.tf

/TR domain range string

Domain and range are lists of characters of equal length. Each character in string that appears in domain is translated to the corresponding character in range, and the resulting string is printed.

Example:
command: /def biff = /tr OIS. 01Z! $[toupper({*})]
command: /biff TinyFugue is cool wares, dude.
output: T1NYFUGUE 1Z C00L WAREZ, DUDE!

See: /replace, expressions, functions

Back to index
Back to tf home page

Copyright © 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005 Ken Keys