public class Strings extends Object
Modifier and Type | Method and Description |
---|---|
static String |
cut(String s,
int length)
Cuts a string to the specified length.
|
static String |
join(String[] strings,
boolean prepend,
String delimiter) |
static String |
join(String[] strings,
boolean prepend,
String delimiter,
boolean append) |
static String |
join(String[] strings,
String delimiter) |
static String |
join(String[] strings,
String delimiter,
boolean append) |
public static String cut(String s, int length)
s
- the string to cutlength
- the maximal length of the stringCopyright © 2002–2016 SoftSmithy. All rights reserved.