surround

Surrounds string with the given substring.

Description

static surround(string $substring)

Parameters

  • string $substring
    The substring to add to both sides.

Return Value

static
String with $substring both prepended and appended.