public static String arrayEscape(String string) {
        string = string.replaceAll("%", "%1");
        string = string.replaceAll(",", "%2");
        return string;
    }
public static String arrayEscape ( String string ) { string = string . replaceAll ( "%" , "%1" ) ; string = string . replaceAll ( "," , "%2" ) ; return string ; }
TODO: Unit test