TypeScriptStringtrimStart
matchAll

trimStartString

trimEnd

Removes whitespace from the beginning of a string.

Syntax

str.trimStart(): string