Added join().

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1650 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2005-05-31 18:41:14 +00:00
parent f694152429
commit aa1d3b97e8
@@ -112,7 +112,15 @@ public class StringTool
{ {
return StringUtil.restrictHTML(text); return StringUtil.restrictHTML(text);
} }
/**
* Joins the supplied strings with the given separator.
*/
public static String join (String[] values, String sep)
{
return StringUtil.join(values, sep);
}
/** For formatting percentages. */ /** For formatting percentages. */
protected NumberFormat _percFormat; protected NumberFormat _percFormat;
} }