in reply to strlen like function in perl
$length=$string=~y///c [download]
$length = scalar split /|/,$string [download]