Here you can find the source of arrayToLowercase(String[] array)
Parameter | Description |
---|---|
array | Array to convert. |
public static String[] arrayToLowercase(String[] array)
//package com.java2s; //License from project: LGPL public class Main { /**/*from www . j a v a2 s .c om*/ * Converts an String array to lowercase. * * @param array Array to convert. * @return Converted array. */ public static String[] arrayToLowercase(String[] array) { String[] copy = new String[array.length]; for (int i = 0; i < array.length; i++) { copy[i] = array[i].toLowerCase(); } return copy; } }