Project

General

Profile

Actions

Task #2839

closed

Script for soft abbreviate string with parameterized maximum

Added by Ondřej Kopr almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Peter Štrunc
Target version:
Start date:
05/27/2021
Due date:
% Done:

90%

Estimated time:
Owner:

Description

The new script will abbreviates given string. The script will be cutting only whole words.

Examples:
  • "Hi how are you" - maximum: 9 - "Hi how"
  • Ing. Mgr. at Mgr. MBA - maximum: 20 - "Ing. Mgr. at Mgr."
Actions #1

Updated by Ondřej Kopr almost 3 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Peter Štrunc
  • % Done changed from 0 to 90

Implemented :)

Commit: https://github.com/bcvsolutions/czechidm-extras/commit/f24e12e626f8700c62801c6bebe954fddc2ab15d (branch: okopr/2839-script-for-abbreviate)

Documentation: https://wiki.czechidm.com/devel/documentation/modules_extras#script_for_soft_abbreviate_strings_extrasabbreviatestring

Please Peter could you check the script and merge the branch into develop?

Actions #3

Updated by Peter Štrunc almost 3 years ago

  • Status changed from Needs feedback to Closed

Merged - closing ticket

Actions

Also available in: Atom PDF