mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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
|
|||
|
||||
-- Returns the code of the first character of the string
|
||||
utf8.codepoint(chars: str) -> int
|
||||
|
||||
-- Returns a substring from position startchar to endchar inclusive
|
||||
utf8.sub(text: str, startchar: int, [optional] endchar: int) -> str
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue