code: public static String stringArrayToString(String[] stringArray) {
  		StringBuilder b = new StringBuilder(64);
  		boolean comma = false;
  		for (String s: stringArray) {
  			if (comma) {
  				b.append(',');
  			} else {
  				comma = true;
  			}
  			b.append(s.replace("\\", "\\\\").replace(",", "\\,"));
  		}
  		return b.toString();
  	}
docs: Construct a <code>String</code> representation of a <code>String[]</code> the same way Selenium IDE does.