%RemoveDiacritics function


Function
The function removes diacritical marks from a given text (replaces each character with a diacritical mark by the corresponding one - according to the table).
Declaration
TEXT %RemoveDiacritics(
   TEXT in str
 )
Parameters
strText.
Example
BEGIN
 TEXT _txt
 ; text with diacritical marks
 _txt := "ľčšžčáľéÉÁ"
 ; clear diacritical marks
 _txt := %RemoveDiacritics(_txt)
 END
 
The value of the parameter _text is "lsczcaleEA".
Napíšte komentár