J. Scott Elblein
Well-known member
I am using: If Login.Contains(My.Settings.LastLogin) with 2 different strings, one has the string "Mike" and the other is "Mike2". Since they both have "Mike" in the string, it is obviously passing the test each time.
However, I need to only have it match on an exact search, so if I am searching for "Mike", it won't pass for "Mike2" (I am using it to help me decide which password to parse out of a login string).
TIA
However, I need to only have it match on an exact search, so if I am searching for "Mike", it won't pass for "Mike2" (I am using it to help me decide which password to parse out of a login string).
TIA