Read more about the article String vs StringBuilder
java_logo

String vs StringBuilder

1. String1.1. Concatenation1.1.1. Concatenation Rules1.2. Immutability1.3. String Methods1. length()2. charAt()3. indexOf()4. substring()5. toLowerCase() and toUpperCase()6. equals() and equalsIgnoreCase()7. startsWith() and endsWith()8. replace()9. contains()10. trim(), strip(), stripLeading(), and stripTrailing()1.4. Method Chaining2.…

Comments Off on String vs StringBuilder