Now let's see how we can deal with the strings.
Let's do some operations.
So first of all, I will create a string called Martin Y equals.
I love programming and I will learn fast.
And now we can work a little bit with this shrink.
So let's first try to make all the letters capital.
You can do this by simply writing print Martin White, not apart.
You can see that all the letters are uppercase.
Let's now do all of them lower extract yourself.
It makes sense.
So print.
Martin, why don't.
Lower in here, you can see that all the cases are now lower than this, create one other statement.
And here I will show you how you can find a specific letter inside your shrink now.
Right.
Print Martin away, though, to find Jim.
And let's see what is going to be the result here.
So you can see that the system says that we have the liturgy on the 10th position.
OK, so then position means that the first in our shrink is on that position.
And this is because so I is equal to zero.
Then we have one, two, three, four, five, six, seven, eight, nine.
And here you can see that the U.S. on the tenth position.
OK, so that's why we see the number 10.
And this is how the government works.
Then let's see how we can replace things in our string.
So I'm going to write.
Print then Martin White.
Not replace.
And here you can see that first we need to specify the old name, then the new name and finally the
count, since we want to do this only once I remove the count and let's write the code name.
So this will be law.
So the love I would like to replace with, just like, OK, so let's see how this would work.
And you can see that now here the word love is replaced with the just like programming language.
This how you replace drinks and python.
So now let's try to find the whole word.
So I'll write print Martin away.
Both fined.
Then in the brackets, let's right.
Programming, so let's see if we want to find not a single character, but the whole story, so you
can see that now we're getting the number seven.
And this is because since we rolled, the whole world worked.
This means that we'll give the character or the position of the character, which is on the first place
in this world.
And this is and you remember, so iso zero one, two, three, four, five, six, seven.
And for that reason, we're getting the number seven here.