s without the chars at its start; the result points into s.
trim_left :: (s: string, chars := DEFAULT_SPACES) -> string
Parameters
- s: string
- chars := DEFAULT_SPACES
Returns
- string
assert(trim_left(" hi ") == "hi ");s without the chars at its start; the result points into s.
trim_left :: (s: string, chars := DEFAULT_SPACES) -> string
assert(trim_left(" hi ") == "hi ");