Dim MyString as string = ""
MyString="X"
mystring=replace(mystring,"X","")
' mystring is now equal to ""
mystring=replace(mystring,"X","")
' mystring is now equal to nothing
' which breaks
if mystring.contains("X") then
end if
very confused on the difference between nothing and "", and how it breaks the contains statement.
MyString="X"
mystring=replace(mystring,"X","")
' mystring is now equal to ""
mystring=replace(mystring,"X","")
' mystring is now equal to nothing
' which breaks
if mystring.contains("X") then
end if
very confused on the difference between nothing and "", and how it breaks the contains statement.