add utf8.upper, utf8.lower
This commit is contained in:
@@ -18,4 +18,10 @@ utf8.codepoint(chars: str) -> int
|
||||
|
||||
-- Returns a substring from position startchar to endchar inclusive
|
||||
utf8.sub(text: str, startchar: int, [optional] endchar: int) -> str
|
||||
|
||||
-- Converts a string to uppercase
|
||||
utf8.upper(text: str) -> str
|
||||
|
||||
-- Converts a string to lowercase
|
||||
utf8.lower(text: str) -> str
|
||||
```
|
||||
|
||||
@@ -18,4 +18,10 @@ utf8.codepoint(chars: str) -> int
|
||||
|
||||
-- Возвращает подстроку от позиции startchar до endchar включительно
|
||||
utf8.sub(text: str, startchar: int, [опционально] endchar: int) -> str
|
||||
|
||||
-- Переводит строку в вверхний регистр
|
||||
utf8.upper(text: str) -> str
|
||||
|
||||
-- Переводит строку в нижний регистр
|
||||
utf8.lower(text: str) -> str
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user