Now for the string indexes, we want I want to show you this something no, actually, the string,
by its nature, is a sequence of characters.
So let's put this variable and decided, let's put ABCDE.
OK, now, actually what is strange is it is a sequence of characters and each character has its own
index.
So we start with zero.
One, two, three, four, five, six.
OK, so actually it is like this.
So if I print the variable, it will print everything.
Right.
And we already saw that.
So is see again.
Yeah, abcde, pfg, OK, everything working as expected, but if I put the square brackets like these
and I booked the zero for example, now this will bring only the air character.
So if I return here and you can see that it is a character only now let's return here.
Now what if I type or I want to.
To have that ABCDE only, so I would put the on here, as you can see, and put that from where to where.
OK, so from to as this.
So from zero to two or two.
Three.
OK, so like this if I return here Ron again you can see ABC, if I return again you can see that from
zero to three by three.
And if you can, as you can see three is not included.
So if I want to d if I want to be included, just remove three and put three four instead, then like
this, go here.
And as you can see ABCDE.
Now, another trick.
Now, what if I want from B to the end of this, so from B, which means from one.
OK.
And by the way, the syntax here is N minus one, which means if it is two to four, which means I need
to, but which means if I want to for D I want to wait for which is three four minus one which is a
three.
OK, so you need to add an extra number for this index.
OK, now what if I want from the until the end of the string.
So I just remove it like this.
I put it one two anywhere or talks nothing.
OK, so this one.
Right one which is from B to the end of the string.
So check this out.
You can see not a.g.
No it is b c d e f g.
Right.
OK, now this is just to have an overview and have a look about it so you understand that it is not
just as is it is very elastic for you.
OK, thanks for watching.