trim func dosnt work correctly (it trims chars too)
in my fun i made this:
Code:
new test[14], test2[14], test3[14]
format(test,13," abcde ")
format(test2,13,"^t^t^tabc ")
format(test3,13,"^t ^t abc^t ")
trim(test)
trim(test2)
trim(test3)
log_amx(test)
log_amx(test2)
log_amx(test3)
output is:
Code:
L 08/24/2004 - 17:17:59: [test.amxx] abcde
L 08/24/2004 - 17:17:59: [test.amxx] ac
L 08/24/2004 - 17:17:59: [test.amxx] b
it seems that this problem occurs when there are tabs (^t) in text
__________________