|
Project-GC Lua Sandbox API
|
| UTF8SubStr | ( | $string, | |
| $start, | |||
| $length ) |
Gets a part of a string.
Implemented since LUA doesn't have unicode support in their functions (for example string.substr).
| string | $string | (required) The UTF-8 string to extract from. |
| int | $start | (required) Position of the first character to use. 1-based (first character is number 1). |
| int | $length | (required) Maximum number of characters to use from string. |