i have two string that are the same, but vb.net says they are not. what could be wrong?
here is my except of the codes
Dim Blk As String = ""
Dim MyBlks() As String
some codes here
Dim txtFields() As String
txtLine = myFSR1.ReadLine
txtFields = txtLine.Split(",")
MyBlks = New String() {txtFields(0) , txtFields(2) , txtFields(3) , txtFields(4) }
some codes here
Blk = MyBlks(0)
some codes here
MsgBox Blk
If Blk= "doors1" Then InstallDoors1 Else InstallDoorsOther
the MsgBox displays the value of "doors1", but it does not InstallDoors1.
when i do PrintLine(myFn, Blk & "," & "doors1") it shows like below with a difference of "quotes"
"doors1",doors1
how do solve this difference?
Edited by: sdren on Oct 30, 2009 7:35 PM