get length of the string - Shell Scripting Views : 154
Tagged in : Shell Scripting
0 0
Send mail
To get length of the string in shell script:


str="hscripts"
echo ${#str}


o/p will be:
8
By Ramya, On - 2011-09-06



    Login to add Comments .