Java String Lower Case toLowerCase(String s, int start, int end)

Here you can find the source of toLowerCase(String s, int start, int end)

Description

Lower substring assigned length.

License

Open Source License

Parameter

Parameter Description
s a parameter
start a parameter
end a parameter

Declaration

public static String toLowerCase(String s, int start, int end) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**//w w  w.j av  a 2s.  c o  m
     * Lower substring assigned length.
     * 
     * @param s
     * @param start
     * @param end
     * @return
     */
    public static String toLowerCase(String s, int start, int end) {
        int length = s.length();
        if (length >= end) {
            s = s.substring(0, start) + s.substring(start, end).toLowerCase() + s.substring(end, length);
        }
        return s;
    }
}

Related

  1. toLowerCase(String name)
  2. toLowerCase(String pString)
  3. toLowerCase(String s)
  4. toLowerCase(String s)
  5. toLowerCase(String s)
  6. toLowerCase(String source)
  7. toLowerCase(String str)
  8. toLowerCase(String str)
  9. toLowerCase(String str)