Hiii developer’s this post help you to create .txt or any extension file and save it to internal storage and also edit exist file and saved in same file.

Create text file and save on storage

for example i create a .txt extension file.

  • First create a string named file and set text on this string.
  • than create new string and set file path were you want save.
  • this is last block write string block add set first value file variable and in second valve set path variable.

see picture given below

Edit saved text file and rewrite

  • it’s similar but last block are different.
  • in the last block write string block add two join block.
  • in Frist value of join block add read file block.
  • and in the read file value add file path which you wanted to edit.
  • in second value write string you want to add.
  • and in the last add path variable.

see picture given below

if any doubts please contact from contact page.