Is there a quick way to match a string to a group of strings?
ie
if "xyz" in ("xyz","zzx", "yyx") then true
does that make sense?
it would be even better if I could do like matching ie?
if "xyz" in ("xy*", "xz*") then true
anyone? or do I need to write it?
ie
if "xyz" in ("xyz","zzx", "yyx") then true
does that make sense?
it would be even better if I could do like matching ie?
if "xyz" in ("xy*", "xz*") then true
anyone? or do I need to write it?