Hi,
I am doing regex.split on a couple of text files. When I split a small file it is quick to split but when I try to split bigger text files it takes forever to split.
Note these big files would load to a label box in about 2 secs if I dont split.
Is there some wrong with the way I am splitting or is there anything I can do to speed things up?
Sub myText
info= Regex.Split(" ", txt)
For k = y To arrWord.Length - 1
Log(info(k) & " " & info(k).Length)
CCT.AddLinkText(lblText,arrWord(k).Trim & " ",Colors.black,"GetString")
Next
End Sub
Thanks
I am doing regex.split on a couple of text files. When I split a small file it is quick to split but when I try to split bigger text files it takes forever to split.
Note these big files would load to a label box in about 2 secs if I dont split.
Is there some wrong with the way I am splitting or is there anything I can do to speed things up?
Sub myText
info= Regex.Split(" ", txt)
For k = y To arrWord.Length - 1
Log(info(k) & " " & info(k).Length)
CCT.AddLinkText(lblText,arrWord(k).Trim & " ",Colors.black,"GetString")
Next
End Sub
Thanks