summaryrefslogtreecommitdiff
path: root/server-beta/locale/en-US/libs/@lua/string.lni
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-23 14:54:04 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-23 14:54:04 +0800
commit1dda93bba596496c1a427707fe97d92391129b8d (patch)
tree8bb525452d5677133a17662d091a077db5af1cad /server-beta/locale/en-US/libs/@lua/string.lni
parent62a3e74b5467ca3bc0879e73e8fc8b129c0bec6a (diff)
downloadlua-language-server-1dda93bba596496c1a427707fe97d92391129b8d.zip
整理文件
Diffstat (limited to 'server-beta/locale/en-US/libs/@lua/string.lni')
-rw-r--r--server-beta/locale/en-US/libs/@lua/string.lni72
1 files changed, 72 insertions, 0 deletions
diff --git a/server-beta/locale/en-US/libs/@lua/string.lni b/server-beta/locale/en-US/libs/@lua/string.lni
new file mode 100644
index 00000000..2055b16b
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/string.lni
@@ -0,0 +1,72 @@
+[byte]
+description = 'Returns the internal numeric codes of the characters `s[i], s[i+1], ..., s[j]`.'
+
+[char]
+description = 'Returns a string with length equal to the number of arguments, in which each character has the internal numeric code equal to its corresponding argument.'
+
+[dump]
+description = 'Returns a string containing a binary representation (a *binary chunk*) of the given function.'
+
+[find]
+description = 'Looks for the first match of [`pattern`](https://www.lua.org/manual/5.3/manual.html#6.4.1) in the string.'
+
+[format]
+description = 'Returns a formatted version of its variable number of arguments following the description given in its first argument.'
+
+[gmatch]
+description = [[
+----------
+```lua
+s = "hello world from Lua"
+for w in string.gmatch(s, "%a+") do
+ print(w)
+end
+```
+]]
+
+["gmatch Lua 5.4"]
+description = [[
+----------
+```lua
+s = "hello world from Lua"
+for w in string.gmatch(s, "%a+") do
+ print(w)
+end
+```
+]]
+
+[gsub]
+description = 'Returns a copy of s in which all (or the first `n`, if given) occurrences of the [`pattern`](https://www.lua.org/manual/5.3/manual.html#6.4.1) have been replaced by a replacement string specified by `repl`.'
+
+[len]
+description = 'Returns its length.'
+
+[lower]
+description = 'Returns a copy of this string with all uppercase letters changed to lowercase.'
+
+[match]
+description = 'Looks for the first match of [`pattern`](https://www.lua.org/manual/5.3/manual.html#6.4.1) in the string.'
+
+[pack]
+description = 'Returns a binary string containing the values `v1`, `v2`, etc. packed (that is, serialized in binary form) according to the format string [`fmt`](https://www.lua.org/manual/5.3/manual.html#6.4.2).'
+
+[packsize]
+description = 'Returns the size of a string resulting from `string.pack` with the given format.'
+
+[rep]
+description = 'Returns a string that is the concatenation of `n` copies of the string `s` separated by the string `sep`.'
+
+['rep Lua 5.1']
+description = 'Returns a string that is the concatenation of `n` copies of the string `s` .'
+
+[reverse]
+description = 'Returns a string that is the string `s` reversed.'
+
+[sub]
+description = 'Returns the substring of the string that starts at `i` and continues until `j`.'
+
+[unpack]
+description = 'Returns the values packed in string according to the format string [`fmt`](https://www.lua.org/manual/5.3/manual.html#6.4.2).'
+
+[upper]
+description = 'Returns a copy of this string with all lowercase letters changed to uppercase.'