How to change the name of an itemlist node's item

Godot Version

4

Question

`
how do I change the name of an itemlist node’s item after its been added

add_item(“name”, texture, true)
`

You can do it like this:

for i in range(item_count):
    set_item_text(i, "Something")