Thread: Tokens...
View Single Post
  #31  
Old 10-23-2003, 04:29 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by Python523

#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
I know #T has no relationship between the -1.
I jus said that #T was really not needed there. x.x'
Reply With Quote