Package de.murmelmeister.library.utils
Class StringUtil
java.lang.Object
de.murmelmeister.library.utils.StringUtil
Utility class for string operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringNormalizes the providedStringby stripping leading and trailing whitespace and returningnullwhen the result is empty or the input isnull.static booleanstartsWithIgnoreCase(String str, String prefix)
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
startsWithIgnoreCase
-
normalize
Normalizes the providedStringby stripping leading and trailing whitespace and returningnullwhen the result is empty or the input isnull.
-