Package org.firebirdsql.util
Class StringUtils
java.lang.Object
org.firebirdsql.util.StringUtils
Helper class for string operations
- Author:
- Mark Rotteveel
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringtrimToNull(String value) Trimsvalueif non-null, returning the trimmed value, ornullifvaluewasnullor empty after trimming.
-
Method Details
-
trimToNull
Trimsvalueif non-null, returning the trimmed value, ornullifvaluewasnullor empty after trimming.- Parameters:
value- Value to trim- Returns:
- Trimmed string
value, ornullwhen null, or empty after trim. - See Also:
-