initial commit of Str.trimLeft

This commit is contained in:
Michael Downey 2021-11-09 14:25:24 -05:00
parent 35df58c18f
commit 1bc278d962
13 changed files with 159 additions and 7 deletions

View file

@ -125,6 +125,7 @@ comptime {
exportStrFn(str.fromUtf8RangeC, "from_utf8_range");
exportStrFn(str.repeat, "repeat");
exportStrFn(str.strTrim, "trim");
exportStrFn(str.strTrimLeft, "trim_left");
inline for (INTEGERS) |T| {
str.exportFromInt(T, ROC_BUILTINS ++ "." ++ STR ++ ".from_int.");