private String replaceOrdinals(String value, String commaSeparatedList) {
		String[] list = Strings.splitIgnoreBlank(commaSeparatedList);
		for (int i = 0; i < list.length; i++) {
			String item = list[i].toUpperCase();
			value = value.toUpperCase().replaceAll(item, "" + i);
		}
		return value;
	}
private String replaceOrdinals(String value, String commaSeparatedList) {
		String[] list = Strings.splitIgnoreBlank(commaSeparatedList);
		for (int i = 0; i < list.length; i++) {
			String item = list[i].toUpperCase();
			value = value.toUpperCase().replaceAll(item, "" + i);
		}
		return value;
	}
private String replaceOrdinals ( String value , String commaSeparatedList ) { String [ ] list = Strings . splitIgnoreBlank ( commaSeparatedList ) ; for ( int i = 0 ; i < list . length ; i ++ ) { String item = list [ i ] . toUpperCase ( ) ; value = value . toUpperCase ( ) . replaceAll ( item , "" + i ) ; } return value ; }
Replace the values in the comma-separated list (case insensitive)
with their index in the list.
@return a new String with the values from the list replaced
Replace the values in the comma - separated list ( case insensitive ) with their index in the list .