Can I read a .txt until I find something certain (like "<hello>"),
then return everything after that until another character (like
"*")?
then return everything after that until another character (like
"*")?
local fs:TStream = ReadFile("blah.txt"); local buffer:string = ""; local reading:byte = False; while( not fs.Eof() ) local c:byte = readbyte(fs); select( c ) case Asc(">") reading = True; case Asc("*") reading = False; Exit; default if( reading ) then buffer :+ Chr(c); end if end select wend closefile(fs); Print(buffer);
syncmods -u your_user_name -p your_password bah.libxml