How to find a ", and -" in String at any Place of it

jhenav
jhenav Member Posts: 6
Hello all!

I have Strings that looks like that : Schleswig-Holstein , Flensburg,Stadt

Now i'm looking for a function that finds the "-" or/and the "," character. The Characters could be at any place of the String.

I have to say, that i'm a beginner in C/AL and i hope my english is not too bad :).

Thank you!

Answers