public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
searchAndReplace(String source,
String search,
String replace)
Replace all instances of search in source with
replace.
|
static String |
trimString(String name,
int len)
If the string is longer than len, truncate it and append "..."
|