if (defined ${"${\substr $one, 1}"}) {
Instead of ${"${\substr $one, 1}"} you could also just write ${substr $one, 1}.
In reply to Re^2: Using a sting with a variable name
by almut
in thread Using a sting with a variable name
by bingohighway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |