External module "util/StringUtils"
Functions
abbreviate
- abbreviate(str: string, abbrLettersCount?: number): string
-
Parameters
-
str: string
-
Default value abbrLettersCount: number = 1
Returns string
camelCase
- camelCase(str: string, firstCapital?: boolean): string
-
Parameters
-
str: string
-
Default value firstCapital: boolean = false
Returns string
snakeCase
- snakeCase(str: string): string
-
Parameters
Returns string
titleCase
- titleCase(str: string): string
-
Parameters
Returns string
Builds abbreviated string from given string;