Method to trim a string : trim accents, spaces, special char

Hello Servoy users,

Perhaps usefull for one of you ?

I just wrote a small method to trim accents, space and special characters from strings before checking uniqueness on contact names.
I use it in a stored calculation field. (UFT8 character set).

I put it as attacment as special character cause error when I submit my post.

DomTom

:!: