Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash string length

VAR=abc
echo ${#VAR[@]} ## 3

VAR=abcde
echo ${#VAR[@]} ## 5
 
PREVIOUS NEXT
Tagged: #bash #string #length
ADD COMMENT
Topic
Name
8+9 =