mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-10-21 16:30:18 +00:00
Removed .charAt(), added .char() & .byte()
- also minor comment fixes in cobj.[ch]
This commit is contained in:
@@ -14,7 +14,8 @@ COSMO_API void cosmoB_loadLibrary(CState *state);
|
||||
- string.sub
|
||||
- stirng.find
|
||||
- string.split
|
||||
- string.charAt
|
||||
- string.byte
|
||||
- string.char
|
||||
|
||||
The base proto object for strings is also set, allowing you to invoke the string.* api through string objects, eg.
|
||||
`"hello world":split(" ")` is equivalent to `string.split("hello world", " ")`
|
||||
|
Reference in New Issue
Block a user