Need to determine "character count" for a couple of input strings.
$string1 = "$form{'string1'}";
$string 2 = .........
$string3 = ...... and So on.
I tried this thing.
@total = ('$string1' , 'string2' , 'string3')
$length += length($_);
print "$length";
But its not working. Any help?
$string1 = "$form{'string1'}";
$string 2 = .........
$string3 = ...... and So on.
I tried this thing.
@total = ('$string1' , 'string2' , 'string3')
$length += length($_);
print "$length";
But its not working. Any help?