Convert special character in string

0
Hello I want to replace all special characters in a string with ‘normal’ counterparts. For instance: all occurences of é, è or ë should be replaced by e. But also æ should be replaced by ae. So not only accents, but also other special characters. What would be the best way to do this in Mendix? Is there a Java-action available for such an operation?
asked
3 answers
3

In the community commons module there is java action called: StringSimplify this wil remove diacritics such as é, è or ë

answered
2

Have a look at the StringSimplify action in the Community Commons module.

I contributed this action after having a similar requirement to you.

answered
0

This might help you: https://gist.github.com/rponte/893494

Regards,

Ronald

 

answered