Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1137

Update the string helper to support truncation

    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

          Activity

          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Strings can be truncated based on length (not multi-byte safe), word length, and/or the first line break

          Show
          tyson Tyson Phillips (Inactive) added a comment - Strings can be truncated based on length (not multi-byte safe), word length, and/or the first line break

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/Apr/14