mb-ltrim

mb_ltrim

Strip whitespace (or other characters) from the beginning of a string

ENTITY

string

mb_ltrim

string

string

string

null

characters

ENTITY

string

null

encoding

ENTITY

Performs a multi-byte safe ltrim operation. Strip whitespace (or other characters) from the beginning of a string.

Without the second parameter, mb_ltrim will strip these characters:

ENTITY

ENTITY

string
The input string.

characters
ENTITY

encoding
ENTITY

ENTITY

This function returns a string with whitespace stripped from the beginning of string.

ENTITY

mb_trim

mb_rtrim

ltrim


版本号 #2
由 壳壳虫 创建于 2026-10-31 17:53:31 UTC
由 壳壳虫 更新于 2026-10-31 17:53:32 UTC