I have a file stored in a folder name testfolder
my local disk.
The file text would be something like the below
Apples are red. <colour = red/> latitude 13.124165
Is it possible to get the content of this file in to a variable and then do some adjustment and overwite it?
fopen("C:\testfolder\test.text", 0);
var cont = ``; //get content in to a variable?
//update cont
fwrite(file, cont);