Uppercase First Str Bash

[Solved] Uppercase First Str Bash | Vb - Code Explorer | yomemimo.com
Question : uppercase first str bash

Answered by : annoying-armadillo-l2hcrkposgyo

foo="bar"
echo "$(tr '[:lower:]' '[:upper:]' <<< ${foo:0:1})${foo:1}"
#returns 'Bar'

Source : | Last Update : Wed, 09 Jun 21

Answers related to uppercase first str bash

Code Explorer Popular Question For Vb