How To Use String Methods

20
2



☕ If you want to learn to program, I highly recommend the audiobook “Computer Programming Languages For Beginners By Adesh Silva”. You can get it for free here: audibletrial.com/alexlee ☕

– Here is a list of string methods you can use! In this video I show you how to use string methods in your java programs.

Strings in java are just characters grouped together than you can use for printing, storing and manipulating. You can convert them to uppercase, lowercase or even get just a piece of the string by using these built in methods. I teach you how to lowercase in java and how to uppercase in java amongst a few other useful string methods.

The name “string method” can be a little tricky to get used to, but don’t worry too much about it right now! They aren’t too bad 🙂 If you followed along, congrats! You learned-by-doing!

Source Code:

I hope you enjoyed this tutorial on how to use string methods in java! I like to have a nice mix of tutorials and actual projects for you all 🙂

Do you want to learn how to code from scratch, in Java? Check out my Java Tutorial For Beginners:

Which string methods are you using in your java program? –

7 Tips on How To Think Like a Programmer:
New Programmer Support:
Java Students Unite:

10% off merch:

Recommended Channels to Subscribe to:
Career Karma:
TheNewBoston:

Camera:
Tripod:
Light:
Mic:
Keyboard:

~
(2nd channel)

Alex Lee

Nguồn: https://chototdayroi.com

Xem thêm bài viết khác: https://chototdayroi.com/cong-nghe/

20 COMMENTS

  1. Hello Alex, I am thrilled with your videos! I start learning a week ago and I am surprised how much I learned so far! I used to learn before, but I gave up easily because I couldn't understand something and the program didn't work. So I gave up. But then my friend told me to try again and I did. You are the best, best tutorial ever.
    Btw I have a question for you! Can we have two methods at once?
    For example, lower case letter: toLowerCase() and also the other one printing the first letter: charAt(0)? I am trying to figure out if that possible.
    For example String name = "Billy Bob Joe";
    I would like to print the lower case first character: b. Is this possible?

  2. I'm a german informatics student and your vids are much more more easy to unterstand for me, thank you !!
    Is there an opportunity to count the the char of an int ? For example 123 = 3 or 110000 = 6

  3. Thank you so much TT really appreciate! btw do you mind to come out with a video reagrding to polymorphism… TT
    love xx!

LEAVE A REPLY

Please enter your comment!
Please enter your name here