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