Here you can find the source of toLowerCase(String s)
Parameter | Description |
---|---|
s | input string |
public static String toLowerCase(String s)
//package com.java2s; /*/*from w w w. jav a2 s . com*/ * This software is distributed under the terms of the FSF * Gnu Lesser General Public License (see lgpl.txt). * * This program is distributed WITHOUT ANY WARRANTY. See the * GNU General Public License for more details. */ public class Main { /** * Returns a string with all alphabetic characters converted to lower case. * * @param s input string * @return a string in lower case. */ public static String toLowerCase(String s) { return (s != null) ? s.toLowerCase() : s; } }