Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Read line on Gideros without carriage return — Gideros Forum

Read line on Gideros without carriage return

somezombiegmsomezombiegm Member
edited February 2014 in General questions
Hello, I tested the following code on LuaEdit and stores a string just like I want it.

local lineVal = myFile:read("*line")

However when I test it in Gideros, it stores a string with the line plus a carriage return, which I don't need. How do I get only the strings of the line without the carriage return?

Please help.

Comments

Sign In or Register to comment.