removeRight
Returns a new string with the suffix $substring removed, if present.
Description
static removeRight(string $substring)
Parameters
- string $substring
The suffix to remove.
Return Value
static
String without the suffix $substring.
Returns a new string with the suffix $substring removed, if present.
static removeRight(string $substring)
static
String without the suffix $substring.