Added join().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1650 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user