Bash -Check -Länge der Variablen

myvar="some string"
size=${#myvar}
Helpful Hawk