String sequence can be converted into Lower Case with the help of toLowerCase() method in java. toLowerCase() method returns a value in String. Use of String toLowerCase() in java is shown below.
Example of String toLowerCase() in java, JSP
public class StringToLowerCaseExample { public static void main(String[] args) { String string = "Java String"; String str = string.toLowerCase(); System.out.println("Output :"+str); } }
Output
Output :java string
Tags: String




Link to Us