Quote:
Originally posted by osrs
Hm, really. >.>
I don't know why i used #T since i put -1 as length too.
My bad.
|
#T has no relationship between the -1 at all
it's used so, say I say:
/testTEST
/test TEST
strequals(#T(#e(5,-1,#c)),TEST)
both instances would return true
but well... I guess it does have some sort of relation with the 01, #T is trimming all spaces at the from and end of a string
so #T( test ) = test #T ( 123) = 123, etc, most people just don't need to use it for the end part because they know to use -1, instead of say just guessing the length is going to be 100 then trimming it