从给定的基于0的索引开始返回一个子字符串或一系列数组项。
str
{String}
index
{Number}
[length]
returns
{{slice str index [length]}}
{{ slice 'hello' 1 }}{{ slice 'hello' 0 }}{{ slice 'hello' 1 3 }}{{ slice 'hello' -3 2 }}