mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 04:37:47 +08:00
f1bbafaa28
This function takes in 3 arguments: the string, the position and the length (of the substring). As a quick example, a call to the function `str_sub('c programming', 3, 11)` will return the string 'programming' as the substring to the string that is provisioned to the function call. |
||
---|---|---|
.. | ||
import | ||
basics.pk | ||
class.pk | ||
controlflow.pk | ||
core.pk | ||
fibers.pk | ||
functions.pk | ||
import.pk | ||
toc.pk |