removeLeft

Returns a new string with the prefix $substring removed, if present.

Description

static removeLeft(string $substring)

Parameters

  • string $substring
    The prefix to remove.

Return Value

static
String without the prefix $substring.