import { slice } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";
Similar to using a slice
"expr[start : end]", but "end" is
used exclusive. And for a string the indexes are used as
character indexes instead of byte indexes, like in
vim9script
. Also, composing characters are not counted.
When {end} is omitted the slice continues to the last item.
When {end} is -1 the last item is omitted.
Returns an empty value if {start} or {end} are invalid.
Can also be used as a method
:
GetList()->slice(offset)