in reply to Re: Using a sting with a variable name
in thread Using a sting with a variable name

if (defined ${"${\substr $one, 1}"}) {

Instead of ${"${\substr $one, 1}"} you could also just write ${substr $one, 1}.