Class StringUtils

java.lang.Object
org.activiti.cloud.services.query.model.StringUtils

public class StringUtils extends Object
  • Method Details

    • truncate

      public static String truncate(String value, int length)
      Truncate a String to the given length with no warnings or error raised if it is bigger.
      Parameters:
      value - String to be truncated
      length - Maximum length of string
      Returns:
      Returns value if value is null or value.length() is less or equal to than length, otherwise a String representing value truncated to length.