Go Down

Topic: Overwriting char in SD file (Read 239 times) previous topic - next topic

The_Leo

Hello. I am currently working on a program that read and writes information from a txt file in SD card as a practice. How can I delete a character and replace it with a new one? I cannot find the code for deleting chars from file in the reference. Please help me out!

wildbill

There's no delete capability per se. What you can do though is seek() to a place in the file and write() over what was there.

Go Up