Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
ckeveryga
in reply to: acadadmin3KNUF

Correct, your issue is somewhere else in the code. That line only creates the string, you need to compare the string elsewhere. 

Dim strString As String = "teststring"

If strString.Contains("test") Then
	'Do stuff if string contains "test"
End If 

If strString = "test" Then
	'Do stuff if string is "test"
End 

 In this code, the first statement is true, but not the second.