Copyright © tutorialspoint.com

# Java String - Programming Examples

Learn how to play with strings in Java programming. Here are most commonly used examples:

1. How to compare strings?

2. How to search last occurance of a substring inside a substring?

3. How to remove a particular character from a string?

4. How to replace a substring inside a string by another one ?

5. How to reverse a String?

6. How to search a word inside a string?

7. How to split a string into a number of substrings ?

8. How to convert a string totally into upper case?

9. How to match regions in a string?

10. How to compare performance of two strings?

11. How to optimize string creation?

12. How to format strings?

13. How to concatenate two strings?

14. How to get unicode of strings?

15. How to buffer strings?

Copyright © tutorialspoint.com