Jump to content
Sign in to follow this  
exodius

Changing A Line In The Middle Of A Text File

Recommended Posts

exodius

Is there a way to change a line in the middle of a text file without having to read the whole file and rewrite it, changing the one line in the process?

Both FileWrite and FileWriteLine write to the end of a file, what I'm looking for is a way to replace a line in the middle or beginning in a slightly more efficient way than described above.

Share this post


Link to post
Share on other sites
Valuater

its actually a UDF in the Beta

search _FileWriteToLine

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
exodius

Cool, thanks fellas :think:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×