docs api: minor corrections

This commit is contained in:
jgmdev
2022-11-30 01:11:13 -04:00
parent 9f917052ad
commit 563fa7f29e
7 changed files with 57 additions and 46 deletions
+4 -4
View File
@@ -101,14 +101,14 @@ function string.unext(s, charpos, index) end
---@param s string
---@param idx? integer
---@param substring string
---return string new_string
---@return string new_string
function string.uinsert(s, idx, substring) end
---Equivalent to utf8.remove()
---@param s string
---@param start? integer
---@param stop? integer
---return string new_string
---@return string new_string
function string.uremove(s, start, stop) end
---Equivalent to utf8.width()
@@ -130,12 +130,12 @@ function string.uwidthindex(s, location, ambi_is_double, default_width) end
---Equivalent to utf8.title()
---@param s string
---return string new_string
---@return string new_string
function string.utitle(s) end
---Equivalent to utf8.fold()
---@param s string
---return string new_string
---@return string new_string
function string.ufold(s) end
---Equivalent to utf8.ncasecmp()