Forum Discussion

hina_shams's avatar
hina_shams
New Contributor
12 years ago
Solved

Selecting items by substring in tree view

Hi, I was wondering, if there is a way to select item by providing a substring in tree view. For example you can select items by index or by exact name like item(0) or item("flight"). Can you...
  • JavierCollRodri's avatar
    12 years ago
    Hi Hina,



    You can use * and ? wildcard characters for that. For example:



    item("flight*") will get an item that starts with "flight"

    item("*flight") will get an item that ends with "flight"

    item("*flight*") will get an item that contains "flight"



    Asterisk is for n quantity of characters, while ? is for as many characters as symbols (??? will be 3 characters)



    You can find more information in this article.



    Hope it helped!