I agree.
Jamie...your code:
does exactly the same thing as:VB Code:
Dim strText As String = "blah <sOmEtAg>blah></someTAg> blah <sOmEtAg>blah></someTAg> blah <sOmEtAg>blah></someTAg> " Dim strArr() As String = Split(strText, "<") Dim i As Integer For i = 0 To UBound(strArr) strArr(i) = LCase(strArr(i)) Next MsgBox(Join(strArr, "<"))
Since this is .NET u shouldn't use LCase...VB Code:
Dim strText As String = "blah <sOmEtAg>blah></someTAg> blah <sOmEtAg>blah></someTAg> blah <sOmEtAg>blah></someTAg> " strText = strText.ToLower
WOka





Reply With Quote