Java toLowerCase() 方法
toLowerCase() 方法将字符串转换为小写。
语法
public String toLowerCase() 或 public String toLowerCase(Locale locale)
参数
无
返回值
转换为小写的字符串。
实例
public class Test { public static void main(String args[]) { String Str = new String("WWW.facesoho.COM"); System.out.print("return :" ); System.out.println( Str.toLowerCase() ); } }
以上程序执行结果为:
return :www.facesoho.com
尊贵的董事大人
英文标题不为空时 视为本栏投稿
需要关键字 描述 英文标题