I am currently working with the Contains function and have run into an oddity that I cant seem to fix.
The issue is when I set the stringtofind as a variable I can never get a true result.
I can see looking in LC Variable watcher that the variable contains exaclty what it should (File1.pdf) but it just won't give a true result.
any idea's?
Like below
Code: Select all
if fld "Bob" contains tVariable then
--do something
If I manually assign the stringtofind it works fine??
Like below
Code: Select all
if fld "Bob" contains "File1.pdf" then
--do something