Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
devel:documentation:modules_extras [2021/05/10 11:33] stekld [Get titles before and after] |
devel:documentation:modules_extras [2021/05/27 11:56] kopro [Workflows for approval of role assignment] |
||
---|---|---|---|
Line 171: | Line 171: | ||
Documentation is available [[tutorial: | Documentation is available [[tutorial: | ||
+ | |||
+ | ===== Script for soft abbreviate strings (extrasAbbreviateString) ===== | ||
+ | Since module version **3.2.0** | ||
+ | |||
+ | Script called **extrasAbbreviateString** abbreviate given string by default with maximum length 255. Maximum length can be defined by adding parameter **maximum**. For example: | ||
+ | * .addParameter(' | ||
+ | |||
+ | Result examples: | ||
+ | * "Hi how are you" - maximum: 9 - "Hi how" | ||
+ | * "Ing. Mgr. at Mgr. MBA" - maximum: 20 - "Ing. Mgr. at Mgr." | ||
+ | * " | ||
+ | |||