bash: Count the length of a variable name.
-
Take into account the main readme for this section. README first.
More widely used in shell scripts.
$ Brazil2=SugarCane $ echo ${#Brazil2} 9
© Lightnetics 2024
Take into account the main readme for this section. README first.
More widely used in shell scripts.
$ Brazil2=SugarCane
$ echo ${#Brazil2}
9
© Lightnetics 2024