name[0] tells it to give the first character in name
name[1:] gives you the slice of name from 1 to the end since no number is given after the semi colon it defaults to return all the way to the end of the string.
all arrays start counting with 0 so its the first and 1 is the second and so on
you could also save it to a variable before printing