Skip to main content

shell - length of a string - bash

echo "enter a string"
read s

s3=` expr length $s `
echo "Length is $s3"
 

Comments

Popular posts from this blog

unix commands