length_of() { echo $1 | wc -c } length_of some-string