Here you can find the source of toUpperCase(String pString)
Parameter | Description |
---|---|
pString | the string to convert |
public static String toUpperCase(String pString)
//package com.java2s; public class Main { /**//from www . j a v a 2 s . c o m * Converts a string to uppercase. * * @param pString the string to convert * @return the string converted to uppercase, or null if the argument was * null. */ public static String toUpperCase(String pString) { if (pString != null) { return pString.toUpperCase(); } return null; } }