shell - length of a string - bash

echo "enter a string"
read s

s3=` expr length $s `
echo "Length is $s3"
 
Post a Comment