I know the following code doesn't work (.Chars is read-only), but hopefully you'll understand what I am wanting to do:
I want to cycle through sBuffer to remove certain QUOTE characters that are contained within certain phrases. Is there a method that is writable that I can copy the valid characters into? Something similar to the .Chars method, but also writable.
tia,
flynn
I want to cycle through sBuffer to remove certain QUOTE characters that are contained within certain phrases. Is there a method that is writable that I can copy the valid characters into? Something similar to the .Chars method, but also writable.
Code:
While iOldIndx < iFileLength
If (sBuffer.Chars(iOldIndx) <> """") Then
'keep this character by copying to the new buffer
sNewBuf.Chars(iNewIndx) = sBuffer.Chars(iOldIndx)
iNewIndx += 1
End If
iOldIndx += 1
End While
tia,
flynn
Last edited: