Class StringUtils
java.lang.Object
org.activiti.cloud.services.query.model.StringUtils
-
Method Summary
-
Method Details
-
truncate
Truncate a String to the given length with no warnings or error raised if it is bigger.- Parameters:
value- String to be truncatedlength- 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.
-