From ab1fe80150a8031fb702b9ff776db2db4dea89a4 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 10 Jan 2023 09:25:48 -0500 Subject: Error when string.split is given empty separator (#13132) --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index fb6bc9df8..de0517d42 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3623,7 +3623,7 @@ Helper functions * `math.round(x)`: Returns `x` rounded to the nearest integer. * At a multiple of 0.5, rounds away from zero. * `string.split(str, separator, include_empty, max_splits, sep_is_pattern)` - * `separator`: string, default: `","` + * `separator`: string, cannot be empty, default: `","` * `include_empty`: boolean, default: `false` * `max_splits`: number, if it's negative, splits aren't limited, default: `-1` -- cgit v1.2.3