mIRC Home    About    Download    Register    News    Help

Print Thread
J
JoWie
JoWie
J
How do i count all the charactars in a %var

for example:

in the var "%test" i have "i am just testing"

"i am just testing" are 17 characters, but how do i return that in a script? ($count doesnt do what i want)

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
$len

P
pheonix
pheonix
P
$len(%test)

J
JoWie
JoWie
J
ty smile

w00t answer in 10 seconds!!!!

Joined: Feb 2003
Posts: 806
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 806
Please read mirc.hlp next time..

J
JoWie
JoWie
J
i did, i whas on the same help page $len whas, only i prob looked over it smirk


Link Copied to Clipboard