Fix to split_multi_iterator
This commit is contained in:
1 parent
0727e91aeb
commit
97d7e295dd
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user