public static String copyOfRange(final String str, final int from, final int to) {
        return str.substring(from, to);
    }
public static String copyOfRange ( final String str , final int from , final int to ) { return str . substring ( from , to ) ; }
@param str
@param from
@param to
@return