Prog 1 Write a shell script to find the length of the accepted string
Page 1 of 1
Prog 1 Write a shell script to find the length of the accepted string
echo -n "Enter a string : "
read string
LEN=$(echo ${#string})
tried and tested code
works very fine
read string
LEN=$(echo ${#string})
tried and tested code
works very fine
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum