From 97d7e295ddc6409352d49fa896836ceb8794ea2f Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 16 Mar 2023 16:35:30 +0000 Subject: [PATCH] Fix to `split_multi_iterator` --- core/strings/strings.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/strings/strings.odin b/core/strings/strings.odin index 91d2defa8..4179f7df8 100644 --- a/core/strings/strings.odin +++ b/core/strings/strings.odin @@ -1511,6 +1511,7 @@ split_multi_iterate :: proc(it: ^string, substrs: []string) -> (res: string, ok: it^ = it[i+w:] } else { // last value + res = it^ it^ = it[len(it):] } ok = true