pub fn ltrim(s: &str, writer: &mut impl Write)
Expand description
Note: the behavior of ltrim
in PostgreSQL
and trim_start
(or trim_left
) in Rust
are actually different when the string is in right-to-left languages like Arabic or Hebrew.
Since we would like to simplify the implementation, currently we omit this case.