Platforms to show: All Mac Windows Linux Cross-Platform

RemoveAccentsMBS(text as string, IgnoreCase as boolean = false) as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
global method String MBS Util Plugin 12.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Removes accents from text.

dim s as string = "L'élève préféré"
dim a as string = RemoveAccentsMBS(s)
dim b as string = RemoveAccentsMBS(s, true)
// check values in debugger
Dim x As String = RemoveAccentsMBS("` ‘ ’ • \¶ ¨ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ ¼ ½ ¾ ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅐ ⅛ ⅜ ⅝ ⅞ ⅑ ⅒ ↉")

Optionally also ignores case and outputs text in capital letters.
The plugin has a long replacement list of unicode code points to do this.

Useful as a preparation to convert to ASCII text, so all accents are removed before conversion.

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Util Plugin.

💬 Ask a question or report a problem
The biggest plugin in space...

Start Chat