| Modifier and Type | Field and Description |
|---|---|
| public static final String | DELIMITER
The default delimiter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: a string derived from this string by replacing the first occurrence, or every occurrence, ofsearch with replace.the old string search, String the new string replace, boolean if all)true all occurrences of the search string are replaced; if
false only the first occurrenceReturns a new string resulting from replacing the first occurrence, or all occurrences, of search string in this string with replace string. |
| public static String | |
| public static String | Returns: a string derived from this string by replacing the end oldSuffix by newSuffixthe old suffix oldSuffix, String the new suffix newSuffix)Returns a new string resulting from replacing the end of this String from oldSuffix to newSuffix. |
| public static String | |
| public static String |
| DELIMITER | back to summary |
|---|---|
| public static final String DELIMITER The default delimiter. | |
| CSVString | back to summary |
|---|---|
| private CSVString() | |
| replace | back to summary |
|---|---|
| public static String replace(String original, String search, String replace, boolean all) Returns a new string resulting from replacing the first occurrence, or all occurrences, of search string in this string with replace string. If the string search does not occur in the character sequence represented by this object, then this string is returned.
a string derived from this string by replacing the first occurrence, or every
occurrence, of | |
| replace | back to summary |
|---|---|
| public static String replace(String original, String search, String replace) Returns a new string resulting from replacing all occurrences, of search string in this string with replace string. If the string search does not occur in the character sequence represented by this object, then this string is returned. a string derived from this string by replacing every occurrence of search with replace. | |
| replaceEndWith | back to summary |
|---|---|
| public static String replaceEndWith(String original, String oldSuffix, String newSuffix) Returns a new string resulting from replacing the end of this String from oldSuffix to newSuffix. The original string is returned if it does not end with oldSuffix. a string derived from this string by replacing the end oldSuffix by newSuffix | |
| toCSV | back to summary |
|---|---|
| public static String toCSV(String string) Escape the string as needed using the default delimiter. | |
| toCSV | back to summary |
|---|---|
| public static String toCSV(String string, String delimiter) Escape the string as needed using the given delimiter. | |