translate

MudOSa4DGD/doc/sfun/translate · 539 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
        translate

SYNTAX
        string translate(string text, mapping dictonary)
        string translate(string text, mapping dictonary, int intext)


DESCRIPTION
        Translates the string "text" using the mapping as a dictionary.
        If "intext" is nonzero (TRUE) translate will exchange matches
        found anywhere in a string, including inside a word, otherwise
        it works on word by word basis.

        This is an sfun and might not be available.

SEE ALSO
        efun/replace_string

(Taken from VikingMUD)

Site Stats

Snippets: 1791
Codebases: 571