String Class

  • https://www.journaldev.com/16928/java-string

  • https://www.java67.com/2018/01/10-important-points-about-string-in-java.html

  • https://javarevisited.blogspot.com/2013/07/java-string-tutorial-and-examples-beginners-programming.html

format

  • New lines

    • String.format("Hallo%n") inserts an operating system specific line break. The result differs depending on the operating system on which your program is running.

    • String.format("Hallo\n") always inserts a Linux line break regardless of the operating system.

    • Best to use \n instead

Concatenation

  • https://pellegrino.link/2015/08/22/string-concatenation-with-java-8.html

Splitting

  • https://www.java67.com/2019/12/difference-between-stringtokenizer-and.html

String, String Builder & String buffer

  • https://www.java67.com/2014/05/difference-between-stringbuilder-and-StringBuffer-java.html

  • https://www.java67.com/2012/08/difference-between-string-and-stringbuffer-in-java.html

Operations

  • https://www.javacodegeeks.com/2017/09/overview-functional-programming.html

Last updated

Was this helpful?