mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 21
J
JoWie Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Sep 2003
Posts: 21
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,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$len

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
$len(%test)


new username: tidy_trax
Joined: Sep 2003
Posts: 21
J
JoWie Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Sep 2003
Posts: 21
ty smile

w00t answer in 10 seconds!!!!

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


* cold edits his posts 24/7
Joined: Sep 2003
Posts: 21
J
JoWie Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Sep 2003
Posts: 21
i did, i whas on the same help page $len whas, only i prob looked over it smirk


Link Copied to Clipboard