Zum Inhalt

GetSimpleAsciiString (Opus Funktion)

Beschreibung

Entfernt nicht 7-bit ASCII Zeichen aus einem String und ersetzt diese durch die nächst beste Entsprechung. Replaces common non-ASCII characters such as umlauts and accented letters with their plain ASCII equivalents.

Argumente

Name

Typ

Beschreibung

Text

string

String zum ersetzen:
ä ö ü é etc. mit ae, oe, ue, e etc.
the string to convert (e.g. ä → ae, ö → oe, ü → ue)

Rückgabewert string

Bereinigter String the text with special characters replaced by ASCII equivalents

Beispiel

Result = GetSimpleAsciiString("äuä nid éso");

Resultat: aeuae nid eso

Siehe auch