Click to See Complete Forum and Search --> : Length of string


Mundi
July 3rd, 2001, 12:44 PM
I need to get the length of a string variable, I am using jscript in my asp site.

thanx

Computers and software @ EJS

pmmbala
July 6th, 2001, 01:50 AM
i think This will work..
"str.length"

for ex...

var str=document.RegForm.passwd.value;

for i = 0 ; i<=str.length;i++
.
.

pmmbala_old
July 6th, 2001, 01:50 AM
i think This will work..
"str.length"

for ex...

var str=document.RegForm.passwd.value;

for i = 0 ; i<=str.length;i++
.
.