kaven-basic - v6.0.0
    Preparing search index...

    Function SurroundBy

    • Surrounds a given string with specified left and right strings.

      Parameters

      • s: string

        The string to be surrounded.

      • left: string

        The string to prepend to the input string.

      • Optionalright: string

        (Optional) The string to append to the input string. If not provided, left is used as the right string.

      Returns string

      The input string surrounded by the specified left and right strings.

      4.0.0

      2021-12-24