STR COMPRS - Compress runs of a character in a string (Reports & Settings Report Generator function)

From Catalyst
Revision as of 13:05, 22 September 2016 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

$STR_COMPRS{string, char}

Description

Replace runs of a character with a single copy of that character.


Parameters

string
A text parameter that can not be omitted.
The string that contains runs of the single character.
char
A text parameter that can be omitted (it defaults to " ").
The character that will be compressed in the string.

Returns

A text value. The string, with the character compression.