stack

Home > @infiniteobjects/core-library-node > Strings

Strings class

String Utilities

Signature:

export declare class Strings 

Methods

Method Modifiers Description
truncate(value, maxLength, startLength, endLength) static Truncates a string and adds an ellipsis if the string is longer than the specified length.