From a7944299610df051bd69ba97c0c0441efa9e1475 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Tue, 1 Oct 2024 06:50:48 -0700 Subject: [PATCH] Show default values in param Co-authored-by: Starbeamrainbowlabs --- worldeditadditions_core/utils/strings/split.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_core/utils/strings/split.lua b/worldeditadditions_core/utils/strings/split.lua index 2173dbd..2436a74 100644 --- a/worldeditadditions_core/utils/strings/split.lua +++ b/worldeditadditions_core/utils/strings/split.lua @@ -58,7 +58,7 @@ end --- Split a string into substrings separated by a pattern. -- @param str string The string to iterate over --- @param dlm string The delimiter (separator) pattern (default: "%s+") +-- @param dlm="%s+" string The delimiter (separator) pattern. If a falsey value is passed, then the default value is used. -- @param plain boolean If true (or truthy), pattern is interpreted as a -- plain string, not a Lua pattern -- @returns table A sequence table containing the substrings