abbreviate
@quik/core / abbreviate
Function: abbreviate()
abbreviate(
str,abbrLettersCount?):string
Defined in: utils/String.ts:88
Builds abbreviated string from given string;
Parameters
str
string
The string to be abbreviated.
abbrLettersCount?
number = 1
How many letters to be used for the abbreviation.
Returns
string
See
https://github.com/typeorm/typeorm/blob/master/src/util/StringUtils