Class StringUtils

java.lang.Object
org.firebirdsql.util.StringUtils

public final class StringUtils extends Object
Helper class for string operations
Author:
Mark Rotteveel
  • Method Details

    • trimToNull

      public static String trimToNull(String value)
      Trims value if non-null, returning the trimmed value, or null if value was null or empty after trimming.
      Parameters:
      value - Value to trim
      Returns:
      Trimmed string value, or null when null, or empty after trim.
      See Also: