update doc/*/scripting/builtins/libutf8 and extensions.md
This commit is contained in:
parent
28589c4b3b
commit
69d04d49d5
@ -30,4 +30,7 @@ utf8.lower(text: str) -> str
|
||||
|
||||
-- Escapes a string
|
||||
utf8.escape(text: str) -> str
|
||||
|
||||
-- Escapes special XML characters
|
||||
utf8.escape_xml(text: str) -> str
|
||||
```
|
||||
|
||||
@ -30,4 +30,7 @@ utf8.lower(text: str) -> str
|
||||
|
||||
-- Экранирует строку
|
||||
utf8.escape(text: str) -> str
|
||||
|
||||
-- Экранирует спец-символы XML
|
||||
utf8.escape_xml(text: str) -> str
|
||||
```
|
||||
|
||||
@ -187,6 +187,12 @@ string.escape(str: string) -> string
|
||||
|
||||
Экранирует строку. Является псевдонимом `utf8.escape`.
|
||||
|
||||
```lua
|
||||
string.escape_xml(text: str) -> str
|
||||
```
|
||||
|
||||
Экранирует спец-символы XML. Является псевдонимом `utf8.escape_xml`.
|
||||
|
||||
```lua
|
||||
string.pad(str: string, size: number, [опционально] char: string) -> string
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user