Is there a simple way of checking whether a given character is in a string?
I know that if the string was simply a range (say 'a'..'z'
) then I could have used the in
operator, but I need something to the lines of char in "- _,."
. What's the best way of doing so in Ada?
views:
94answers:
1Thanks! what I was looking for :)
abyx
2010-02-28 21:08:30