11.02.2014, 15:26
Hey, I was wanted to read some data from a file when the server starts.
The file contains empty lines. I thought I will just get an empty string, but "isnull" function says it isn't. I printed out the string as an int and got 13, which is something called "carriage return"...
My question: how do I detect these empty lines?
P.S. The file contains just some data like coordinates and some text. I only load it when my mode starts and speed is not the problem. Also, I don't need key-value, so don't suggest using other file reading/writing systems.
The file contains empty lines. I thought I will just get an empty string, but "isnull" function says it isn't. I printed out the string as an int and got 13, which is something called "carriage return"...
My question: how do I detect these empty lines?
P.S. The file contains just some data like coordinates and some text. I only load it when my mode starts and speed is not the problem. Also, I don't need key-value, so don't suggest using other file reading/writing systems.