Discussion:
String problem How to delete and replace line
(too old to reply)
Tom
2010-03-10 23:48:48 UTC
Permalink
Could someone please point me to an example of how to delete
and replace a specific line in a text file? I use several colums that store
settings
and everything works fine except I can't figure out how to delete a specific
line
and replace it. I can keep adding settings but can't delete and replace.
Everything I try results in either adding a new line or just deleting a line
or a currupted file.

Thanks
Tom
Laura
2010-03-17 18:23:36 UTC
Permalink
Post by Tom
Could someone please point me to an example of how to delete
and replace a specific line in a text file? I use several colums that store
settings
and everything works fine except I can't figure out how to delete a specific
line
and replace it. I can keep adding settings but can't delete and replace.
Everything I try results in either adding a new line or just deleting a line
or a currupted file.
Thanks
Tom
Hi Tom,

Your question was mirrored to the NI Discussion Forums and someone has
provided an answer there: http://forums.ni.com/ni/board/message?board.id=170&message.id=481524#M481524

Thanks,
Laura

Continue reading on narkive:
Loading...