`firstchar="${1%"${1#?}"}"`

Try to figure out how that works :)