Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.2.0-b1
-
Component/s: None
-
Labels:None
Description
We need to have an easy way to truncate strings, so we should have a method in the DataStructureString helper for which to do this.
It will also help to fix issues like CORE-1071.
Issue Links
- blocks
-
CORE-1071 Support Manager: Use of substr() does not truncate using multi-byte UTF-8 encoding
- Closed
Strings can be truncated based on length (not multi-byte safe), word length, and/or the first line break