Class StringUtil

java.lang.Object
de.murmelmeister.murmelapi.utils.StringUtil

public final class StringUtil extends Object
Utility class for string operations.
  • Constructor Details

    • StringUtil

      public StringUtil()
  • Method Details

    • startsWithIgnoreCase

      public static boolean startsWithIgnoreCase(String str, String prefix)
      Checks if a String starts with another String ignoring case sensitivity.
      Parameters:
      str - the input String to check
      prefix - the prefix to check against
      Returns:
      true if the input String starts with the specified prefix, ignoring case sensitivity, or false otherwise. Returns false if either the input String or the prefix is null.