time-to-botec/js/node_modules/@stdlib/string/left-trim/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

41 lines
577 B
Plaintext

{{alias}}( str )
Trims whitespace from the beginning of a `string`.
"Whitespace" is defined as the following characters:
- \f
- \n
- \r
- \t
- \v
- \u0020
- \u00a0
- \u1680
- \u2000-\u200a
- \u2028
- \u2029
- \u202f
- \u205f
- \u3000
- \ufeff
Parameters
----------
str: string
Input string.
Returns
-------
out: string
Trimmed string.
Examples
--------
> var out = {{alias}}( ' \r\n\t Beep \t\t\n ' )
'Beep \t\t\n '
See Also
--------