How to check if part of text is in tuple? For example:
my_data = ((1234L,), (23456L,), (3333L,))
And we need to find if 123 or 1234 is in tuple. I didn't worked lot with tuples before. In array we use:
if variable in array
But its not working for tuples like my_data
PS. 1st answer solved problem.