|
Author
|
Message
|
|
Senior Member
|

03-16-2011
, 08:08
Reading File Problem with spaces
|
#1
|
Hello,
I am trying to do a gather plugin, much like MatchMod Deluxe but with commands changed, and made from scratch.
i use read_file to read a file called admini.ini in free translation what will be admins.ini
there are only steamid's listed one below another limited by MAX_ADMINS 200
The problem is that when i read a line, it stores me with, i think, 2 or 3 spaces in front of the string.
i tried to use replace to get rid of these spaces, but no chance, any ideeas how to read a file line by line without the inexistent spaces in front of them ?
Replace doesn't seems to recognize that spaces, because i tried to replace " " with "" and no result.
Thank you.
|
|
|
|