Programmer Guide/Command Reference/TRANSLATE: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
TRANSLATE
#str := TRANSLATE string sub1 trn1 [ subX trnX [ ... ]] [ /V|T ]
Translate all occurrences of the string 'subX' in 'string' to 'trnX'. The translated string is assigned to #str.
If the option /V is specified, string is treated as the name of a variable whose contents are searched. If the option /T is specified, string is treated as the name of a table item whose contents are searched.
#str := TRANSLATE 'I am getting tired of going to bed early' 'ing' 'ed' um $#str