String Manipulation in Java - Interview questions - Part -7

preview_player
Показать описание
String Manipulation - Different Methods in Java. String Interview Questions.

Learn Different Methods in String Class:

1. length()
2. charAt()
3. indexOf()
4. SubString()
5. equal/equalsIgnoreCase() - String Comparison
6. trim()
7. replace()
8. split()
9. concat()
10. String Concatenation using + operator

======================================================
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion:

-~-~~-~~~-~~-~-
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
-~-~~-~~~-~~-~- Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Paid courses (Recorded) videos:
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
-------------------------------

✔️SOCIAL NETWORKS
--------------------------------

Support My Channel✔️Or Buy Me A Coffee
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
Рекомендации по теме
Комментарии
Автор

I have purchased 2 courses to understand Selenium and Java and i spent almost 13k rupees, they didn't tell me so elaborately even after charging so much. your tutorials are really helpful, one can easily understand and learn, moreover they can get enough confidence in few days to crack any MNC interview. Great job Naveen. Keep it up. please keep these tutorials free in future as well.

rajatgoyal
Автор

Thank you so much Naveen for this video, really got clear picture on String methods.

Zenhikerr
Автор

Sir, no words for your explanation. You are simply born to teach!!!!

subhashpatil
Автор

This helps me a lot, thank you so much, this makes my java basic is so clear, and recently have interview, your interview section also helps me a lot .

yolwasmirzat
Автор

very good and very helpful. Thanks a lot Naveen!

lisazhou
Автор

very helpful, I used to watch your video, The way you explaining the things is very easy to understand.

harishpandey
Автор

occurrence of third 's'

System.out.println(str.indexOf('s', str.indexOf('s', str.indexOf('s')+1)+1));

shubhtiwari
Автор

Thanks for your efforts Naveen Sir, it is really worthful for me to clear concept in java

bharatvarshney
Автор

String str = "The rains have started here selenium";
System.out.println(str.indexOf(('s'), str.indexOf('s') + str.indexOf('s')+1));//3rd occurrence of 's'

shilpathada
Автор

Hi Naveen. Nice video. Could you please prepare a video for Regex ?

deepikavijay
Автор

Hi Naveen,
Please find below the code for 3rd occurence of s

String str="The Rains have started here selenium";


System.out.println(str.indexOf("s",


output will be -->28
Thanks :)

ParthKandpal
Автор

Hey Naveen anna you are doing great job I'm finding these days that everyone suggesting ur videos to others in selenium groups and everywhere though ur channel is quite is new u r reaching aspirants very quickly ....and help me with this

I'm not able to print 3rd occurance of 's'...I did this System.out.println(s.indexOf('s', s.indexOf('s', s.indexOf('s')+1))); ...

venkateshandea
Автор

Thanks a lot !
Please do a few programs on Collections...

Ruchi
Автор

The letters are not clearly visible. Explanation is good.

kalyanitarawate
Автор

Sir I got a doubt as string is immutable how can we concatenate and assign to same string, just read on net that a new string is created and it reference is set to the object reference.

navathutejomai
Автор

one doubt Output2.IndexOf("W", Output2.IndexOf("W")+1) how will i get the index of 3rd occruence of W in string

khushbooshah
Автор

Using new keyword creates memory in heap and SCP . Why is that soo?

Testprofile-ub
Автор

PLEASE MAKE VIDEOS ON ZOOM MODE. I AM NOT ABLE TO SEE YOUR CODES PROPERLY...

aakashkhandekar
Автор

Lets take this example
String s="_Hello_world_";
String test[]=s.split("_");
Return 3: Why?

nazimkhan
Автор

Hi Naveen, i am unable to print the 3rd occurance in the sentence, tried it in many ways. Google is having some complex code.
Could you please provide your inputs.

devarapallirohini
welcome to shbcf.ru