Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript store text file into string

var fs = require("fs");
fs.readFile("./mytext.txt", function(text){
    var textByLine = text.split("
")
});
 
PREVIOUS NEXT
Tagged: #javascript #store #text #file #string
ADD COMMENT
Topic
Name
9+8 =