comp • gb.util • string • removediacritics

String.RemoveDiacritics (gb.util)

Static Function RemoveDiacritics ( String As String ) As String

Return a copy of a string with all diacritics removed.

  • String : An UTF-8 string.

Some ligatures are removed too:

  • æ is replaced by ae.

  • œ is replaced by oe.

  • ß is replaced by ss.

Example

Use "gb.util"
Print String.RemoveDiacritics("Cet été naît un joli bébé au grand cœur.")
Cet ete nait un joli bebe au grand coeur.