joinWith zig implementation and general string improvements

This commit is contained in:
Folkert 2021-01-25 00:17:41 +01:00
parent 9d6b33823f
commit 73de5b8132
2 changed files with 118 additions and 80 deletions

View file

@ -21,6 +21,7 @@ comptime {
exportStrFn(str.startsWith, "starts_with");
exportStrFn(str.endsWith, "ends_with");
exportStrFn(str.strConcatC, "concat");
exportStrFn(str.strJoinWithC, "joinWith");
exportStrFn(str.strNumberOfBytes, "number_of_bytes");
exportStrFn(str.strFromIntC, "from_int");
exportStrFn(str.strEqual, "equal");