Here you can find the source of toLowerCase(String s, int start, int end)
Parameter | Description |
---|---|
s | a parameter |
start | a parameter |
end | a parameter |
public static String toLowerCase(String s, int start, int end)
//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; } }