20.08.2012, 23:44
Hi guys, I am currently working on a system which is sensitive to spaces.
It reads values from a simple file like this.
If you didn't notice, the line 'ThisWouldBeTheError ' trails a space. Is there anyway I can remove that? It uses the function 'fread' to get the line, and is saved into the variable permissionHolder.
So I am guessing there could be a function like
I hope it made sense to you, I am writing this at 1am in the morning :P
It reads values from a simple file like this.
Код:
Permission1 -Permission2 Permission3 ThisWouldBeTheError
So I am guessing there could be a function like
pawn Код:
strescape(permissionHolder);