d31aee593747a9907c6ea007794fff18b99bb71b
[org.ibex.util.git] / src / org / ibex / util / StringUtil.java
1 package org.ibex.util;
2
3 public class StringUtil {
4
5     public static String join(Object[] objs, String sep) {
6         StringBuffer ret = new StringBuffer();
7         for(int i=0; i<objs.length; i++) {
8             if (i>0) ret.append(sep);
9             ret.append(objs[i]);
10         }
11         return ret.toString();
12     }
13
14 }