Compare two strings regardless of Caps Lock

Hi All,

Is there a way to compare two strings regardless of Caps Lock?

Currently I am using IF activity inside of loops with “item.tostring.equals(row(0).tostring)” and I want to get “True” even if one string contains small letters and the other big letters.

Thanks,
Bojan

If Lcase(String1) = LCase(String2)
Else
Exit

1 Like

item.tostring.ToLower.equals(row(0).tostring.ToLower)

Try this modification @bojan.tomsic

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.