Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash check length of variable

myvar="some string"
size=${#myvar}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #check #length #variable
ADD COMMENT
Topic
Name
9+6 =