瀏覽代碼

strings: Fix up documentation of split_n

flysand7 1 年之前
父節點
當前提交
2e1b2dc3ba
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/strings/strings.odin

+ 1 - 0
core/strings/strings.odin

@@ -885,6 +885,7 @@ Splits a string into parts based on a separator. If n < count of seperators, the
 Inputs:
 - s: The string to split.
 - sep: The separator string used to split the input string.
+- n: The maximum amount of parts to split the string into.
 - allocator: (default is context.allocator)
 
 Returns: