mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add utf8.sub
This commit is contained in:
parent
bd60d05c3a
commit
137e6fc767
3 changed files with 17 additions and 0 deletions
|
|
@ -15,4 +15,7 @@ utf8.length(text: str) -> int
|
|||
|
||||
-- Возвращает код первого символа строки
|
||||
utf8.codepoint(chars: str) -> int
|
||||
|
||||
-- Возвращает подстроку от позиции startchar до endchar включительно
|
||||
utf8.sub(text: str, startchar: int, [опционально] endchar: int) -> str
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue