VB.NET - VBScript - Insert text into the middle of a string |
| Hazeus Barbarius posted at 18-Nov-08 01:30 |
 | I am reading a text file line by line checking for specific criteria..
Do While objFile.AtEndOfStream <> True strCurrentLine = objFile.ReadLine if InStr(226, strCurrentLine, "7141570", vbTextCompare) = 226 Then
>Checking Column 226 for this text "7141570", when this returns TRUE I want to insert "99" elsewhere on that line (lets say Column 250). How do I do this?
|