Posted By: PrenceOfDarkness
deleting the last character from a txt file? - 06/02/07 08:08
Hey guys, I'm having a real messed up problem... I can't seem to find a solution.. I've been writing variables to a file the problem is i'm having this really nasty bug in my game when I read the file back because I always end up having a space at the end (i need to use space as the delimit_str).
file_var_write always puts a space after whatever it puts in...
I need to get rid of the last character in my text file in order to fix this problem. Is there anyway to do this? I tried using ascii character 8 (backspace) but all it does is print some stupid character...
file_var_write always puts a space after whatever it puts in...
I need to get rid of the last character in my text file in order to fix this problem. Is there anyway to do this? I tried using ascii character 8 (backspace) but all it does is print some stupid character...