re two way to get length of the string.
The simplest one is ${#varname}, which returns the length of ... erator (${#array[*]}) has to do with array variables.
==== String Length ====
<code>
${#string}
... tring" '$substring'
$substring is a regular expression.
expr "$string" : '$substring'
$substring is a regular expression.
stringZ=abcABC123ABCabc
# |------|
====== Bash Shell Tests ======
Quelle((http://tldp.org/LDP/abs/html/comparison-ops.html))
===== Other...
<code>if [ "$a" -ge "$b" ]</code>
----
-lt
is less than
<code>if [ "$a" -lt "$b" ]</code>
----
-le
is less than or equal to
<code>if [ "$a" -le "$b" ]</code>
----
<
is less than (within double parentheses)
<code>(("$a" <