G
Guest
Hi
What is the most compact way of selecting an item in a listbox based on the first part of its string, does it have an inbuilt method?
For instance if I have the items
Aardvark
Antelope
Beaver
Camel
and I 'pass' the string "Ant", then I want 'Antelope' selected. But if I pass 'Adf' or 'Gup', then nothing should be selected.
Any neat way of accomplishing this?
Thanks
What is the most compact way of selecting an item in a listbox based on the first part of its string, does it have an inbuilt method?
For instance if I have the items
Aardvark
Antelope
Beaver
Camel
and I 'pass' the string "Ant", then I want 'Antelope' selected. But if I pass 'Adf' or 'Gup', then nothing should be selected.
Any neat way of accomplishing this?
Thanks