How to compare label.Text

thanks for confirmation, and when i looked.. it was a problem with white spaces and got it resolved with

RTrimSpaces

and with by my LTrimSpaces that removes the leading white spaces... too

Code: Copy
Sub LTrimSpaces(s As String) As String

  Dim i As Int

  For i = 0 To s.Length - 1 
    If s.CharAt(i) <> " " Then 
    Return s.SubString(i)
   End If
  Next
End Sub

and thanx for you help...
 
Upvote 0
Back
Top