Java String Lower Case toLowerCase(String pString)

Here you can find the source of toLowerCase(String pString)

Description

Converts a string to lowercase.

License

Open Source License

Parameter

Parameter Description
pString the string to convert

Return

the string converted to lowercase, or null if the argument was null.

Declaration

public static String toLowerCase(String pString) 

Method Source Code

//package com.java2s;

public class Main {
    /**// w  ww  .  jav  a 2 s  .  c o m
     * Converts a string to lowercase.
     *
     * @param pString the string to convert
     * @return the string converted to lowercase, or null if the argument was
     *         null.
     */
    public static String toLowerCase(String pString) {
        if (pString != null) {
            return pString.toLowerCase();
        }
        return null;
    }
}

Related

  1. toLowerCase(int u)
  2. toLowerCase(String candidate)
  3. toLowerCase(String input)
  4. toLowerCase(String input)
  5. toLowerCase(String name)
  6. toLowerCase(String s)
  7. toLowerCase(String s)
  8. toLowerCase(String s)
  9. toLowerCase(String s, int start, int end)