Contact: aviboots(AT)netvision.net.il
41,301 questions
53,811 answers
573 users
s="bash Unix shell and command language" firstcharacter=${s::1} echo $firstcharacter # run: # # b #
s="bash Unix shell and command language" firstcharacter=${s:0:1} echo $firstcharacter # run: # # b #