Function join

  • Create a new string which is the concatenation of the words in the given input.

    Returns

    Returns the joined string.

    Example

    join('Lord Of The Rings', '-')
    // 'Lord-Of-The-Rings'

    Parameters

    • s: string

      The string to join

    • Optional sep: string = ' '

    Returns string

Generated using TypeDoc