Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Hey there.
Welcome back, friends.
Today, we will try to check a couple of more interesting functions which are available inside a variety
of steel bags.
And these are to lower case to uppercase index of replace substring, substring before and substring
after.
Now these functions are nothing but functions which are derived from Java string functions.
And these functions work on definitely strings.
No strings.
These are very easy to understand.
And in order to save some time, I have already created the examples for all of these functions.
Now, what are functions?
Functions and methods are one and the same.
All right.
Now, moving forward, first of all, to uppercase, very definitely convert the string to uppercase
to lowercase, very definitely convert the text and to the lowercase, which is straight forward.
Then comes the index of function.
Now, first of all, we will be passing on the string and then this specific character and this function
will return the exact function not taken note of it.
A string is a character added and adding index.
It starts with zero.
So when it comes to you, in the case of state easy.
Then next would be do lie.
Right?
So it starts with zero, then one, then two.
So in the third position we have u, which has to index us two.
All right, then comes replace.
As the name suggests, we will pass on three parameters.
Firstly the string.
Then we have the segment of the string and then the replacement.
So in this case, in place of a state easy dot org is dead.
Easy would be replaced to get super easy.
Then we have the substring.
Substring again has three parameters.
Firstly the string.
Then we have the starting index, then bending index.
In here the starting index is two so the substring will start with index two, which is nothing but
you and end with index five, which isn't a thing.
But why?
So the substring would be usually why.
Then finally we have the substring before and substring after.
Substring before, as the name suggests, who will give us the substring before the segment?
Easy, which is steady.
Likewise, substring after will give us the segment which is after the segment easy, which is DART
or RG.
So these are very simple string related functions, very simple, easy to understand, easy to use.
Let us quickly try to see the output.
Here is the output and these are let me walk you through firstly uppercase.
So here is the uppercase is easy to talk than lowercase is pretty easy.
So the next output is a steady, easy, all lowercase.
Then we have the index of u, which is nothing but to as we have already discussed, index it starts
with zero, then replacing the segment steady.
Easy, but super easy.
So in here it is showing us super easy dot org if it is again.
Okay.
Cool then substring is starting with index two and ending with index five.
Which gives us substring.
You divide which is the output.
Then we have substring before easy, which is a steady perfect and then substring after easy, which
is not authority.
Here we go.
So these are the standard output from these functions.
And definitely these are useful string functions which we can use in our program.
I hope you guys understood the overall concept.
Do try to experiment and try to check all of these functions.
These are very definitely help.
All right.
So this is it for today's video.
I hope you guys enjoyed this video.
Thanks for watching.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.