Function stringPad

  • Formats the given string value to contain at least the given number of characters, adding the given padding character at the end of the value if needed.

    Parameters

    • value: string

      the value to format.

    • nbOfCharacters: number

      The desired minimum number of characters.

    • paddingCharacter: string = EMPTY

      The padding character.

    Returns string

    the formatted result.

Generated using TypeDoc