136k views
5 votes
When subscripts are used to specify character positions in a string the first character subscript is 0?

User Zuraff
by
7.8k points

1 Answer

1 vote
That is correct and it is called "zero-based numbering".
User Farukest
by
8.1k points