Functions for Strings in Java In this tutorial, you will learn how to make better use of built-in functions for Strings in Java to program more quickly, effectively, and aesthetically. by What Is a String? Firstly, of course, we have to initialize our string. What is a string used for? You want to look at your string as a line, not as a mass of symbols. If you have a long text, you want to work with the words, not the letters. If you have lots of information, you need functions that solve questions as quickly as possible. Initializing a String