replaceEnding

Replaces all occurrences of $search from the ending of string with $replacement.

Description

static replaceEnding(string $search, string $replacement)

Parameters

  • string $search

  • string $replacement

Return Value

static