mIRC Home    About    Download    Register    News    Help

Print Thread
Counting all the characters in a %var #50599 21/09/03 03:47 PM
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)

Re: Counting all the characters in a %var #50600 21/09/03 03:48 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$len

Re: Counting all the characters in a %var #50601 21/09/03 03:48 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
$len(%test)


new username: tidy_trax
Re: Counting all the characters in a %var #50602 21/09/03 03:49 PM
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!!!!

Re: Counting all the characters in a %var #50603 21/09/03 08:36 PM
Joined: Feb 2003
Posts: 810
C
cold Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Please read mirc.hlp next time..


* cold edits his posts 24/7
Re: Counting all the characters in a %var #50604 22/09/03 03:16 PM
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