- Home /
Question by
Binary_Rain_Studios · Jul 19, 2015 at 06:15 AM ·
writing to text
When using .WriteAllLines how do you stop writing the extra blank line?
Hello, I have a problem due to the fact that my code adds an extra blank line to the end of the file, is there a way to stop the blank line being added?
string[] lines = { "GameScene01" };
System.IO.File.WriteAllLines("savegame.sav", lines);
Comment
Your answer
Follow this Question
Related Questions
سلام آقا اشکان خسته نباشید 0 Answers
How to make text appear for a few seconds. 0 Answers
Help writing to file every update 3 Answers
How to remove decimals from Vector3.Distance 3 Answers
StreamWriter not writing? 0 Answers