trimLeft

Returns a string with whitespace removed from the start of the string.

Description

static trimLeft(string|null $chars)

Supports the removal of unicode whitespace. Accepts an optional string of characters to strip instead of the defaults.

Parameters

  • string|null $chars
    Optional string of characters to strip.

Return Value

static