The strTrimStart() method removes whitespace from the beginning of a string.
strTrimStart(value): string
Parameters
value: string
The value to be trimmed.
Returns string
A new string representing str stripped of whitespace from its beginning (left side).
If the beginning of str has no whitespace, a new string is still returned (essentially a copy of str),
with no exception being thrown.
The
strTrimStart()
method removes whitespace from the beginning of a string.