Bash check panjang variabel

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