I am using
field( substring( product_id, 1, 4 ),
'IR56', '1k09', '7a72', '6f22' ) > 0
in a where clause to select four different strings of same length.
However I want to be able to search variable length strings, such as
IR5671, 1k097, 7a72p123, 6f22qw. I will know the actual length of
strings at run time. So please help me.
Thanks,
Yasaswi
field( substring( product_id, 1, 4 ),
'IR56', '1k09', '7a72', '6f22' ) > 0
in a where clause to select four different strings of same length.
However I want to be able to search variable length strings, such as
IR5671, 1k097, 7a72p123, 6f22qw. I will know the actual length of
strings at run time. So please help me.
Thanks,
Yasaswi
Comment