Explorar o código

strings: Fix up documentation of split_n

flysand7 hai 1 ano
pai
achega
2e1b2dc3ba
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: