shell substring karakter terakhir
echo -n $str | tail -c 1
# gets the last character, increase number to get more characters
Defiant Dragonfly
echo -n $str | tail -c 1
# gets the last character, increase number to get more characters