boneyard
May 06, 2012MVP
checking string on occurrence of characters
im looking for a way to check if a string contains any of these 4 characters: { } [ ] (might add more later). tried this with scan, but somehow it doesn't want to work, i can find the character but im missing a way to differentiate between a hit and not.
is there another function to try? findstr might be an option but ill end up with doing it 4 times then right?
the string which has to be checked can be pretty much anything:
[
]
[]
hi[bye]test
[something]
[[[[]]][[[]