read..Root.File.readReads the characters from the file starting at position pointed by read position indicator until first whitespace is encountered. Moves read position indicator to next non whitespace character.
StringNativeCallable, Callable
import("file");
auto f.=(File());
f.open("a.txt");
f.clear();
f.write("alpha beta\ngamma");
log(f.read());
log(f.read());
log(f.read());
f.write("delta");
log(f.read());
alpha
beta
gamma
alpha