| java.lang.Object edu.umd.cs.findbugs.util.Strings
Strings | public class Strings (Code) | | A class for static String utility methods.
author: Brian Cole |
Method Summary | |
public static String | replace(String source, String find, String repl) This is intended to be semantically equivalent to source.replace(find, repl)
but also compatible with JDK 1.4. | public static String | toString(Object[] a) This is intended to be equivalent to Arrays.toString(a)
but also compatible with JDK 1.4. | public static String | trimComma(String s) Trim trailing comma from given string. |
trimComma | public static String trimComma(String s)(Code) | | Trim trailing comma from given string.
Parameters: s - a string the same string with trailing comma trimmed (if any) |
|
|