Split string after each letter into a container

Hello everybody,

I am new here so please be patient with me :slight_smile:

I have the following request:
I must check if a string (for example a name like “Aysegül Özdemir-Aly”) have a special character (like “ä”, “Ä”, “ö”, “Ö”, “ü”, “Ü”, “ß” or “-”, … ).

How can I do that?

Many thanks in advance!

lG

GAZZA

The title of your thread doesn’t describe the problem - it seems to be about a particular way of solving it, which I don’t recommend.

The check can be implemented in a much more efficient way with the help of regular expressions. In AX, you can use the match() function for that. And if you needed more complex handling of regular expressions, you could call related .NET libraries through .NET Interop.