Hello,
I have a file which already contains data.
I don't know and I am not sure of the content previously entered as far as end-of-line and whatever finish the file...
eg:
server1.tt.xx.yy.com
server2.tt.xx.yy.com
On one file it could have been entered with a end-of-field after server2.tt.xx.yy.com on another file it could have been entered with a space afterwards, on another one it could have been entered just straight which means we could have as end of file three different types:
1."server2.tt.xx.yy.com"
2."server2.tt.xx.yy.com "
3."server2.tt.xx.yy.com
"
How could I insert a new line server3.tt.xx.yy.com with objTS.WriteLine vbNewLine & strContent
server2.tt.xx.yy.com
server3.tt.xx.yy.com
and not
server2.tt.xx.yy.com
server3.tt.xx.yy.com
or
server2.tt.xx.yy.comserver3.tt.xx.yy.com
...
Is it possible to write cleanly...
thanks,
Dom