uce/site/doc/pages/2_StringList_keys.txt
2026-06-16 12:21:31 +00:00

19 lines
384 B
Plaintext

:sig
StringList StringList::keys() const
:params
return value : index keys as strings
:content
Returns the list indexes as strings from `0` through `size() - 1`. Use it when code expects string keys for a list-shaped value.
:example
StringList items = split("red,green,blue", ",");
print(join(items.keys(), ","), "\n");
:see
>types
0_StringList
2_StringList_each
2_StringList_map