world.TranslateGerman

MUSHclient script function (Method) — introduced in version 3.50

Translate German umluat sequences

Prototype

BSTR TranslateGerman(BSTR Text);

Data type meanings

Description

This function translates various German sequences to the non-umluat versions for MUDs that do not support umluats, as follows:

ü to ue
Ü to Ue
ä to ae
Ä to Ae
ö to oe
Ö to Oe
ß to ss

VBscript example

Send TranslateGerman ("ü")

Jscript example

Send (TranslateGerman ("ü"));

Lua example

Send (TranslateGerman ("ü"))

Return value

The supplied text with the sequences described above replaced.

Related topic

Utilities

See also

FunctionDescription
ReplaceReplaces one substring with another