/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 - 1999 Ken Keys