✅ [] brackets explanation

Hey can somone explain to me why this dummy1 is an last letter of the string that we read ? I might be dump but for me imie.lenght is and number of letters in string like 4 and when i substract 1 it should print 3 but it gives me letter. It is always when i use this [] brackets.
image.png
Was this page helpful?