|
-
Apr 8th, 2005, 11:41 AM
#9
Re: Question for my VB guru crew!
 Originally Posted by plenderj
Try it
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, "<"))
Ignoring the fact that your Dim statements are invalid , my point which I apparently didn't make was that unless you know where the "<" symbols were to begin with, your code would change everything to lower case so you might as well just do
strText = LCase(strText)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|