YOUNGCODGER
Programmer
Hello,
I have a table with various telephone destinations. What I am trying to achieve is a lookup for the best match. For instance the entries include '07' - 'Personal numbers, messaging and mobiles', '077' - 'Mobile phone', '07702' - 'O2', etc. Whilst I can write a lookup to match for 'n' characters is there an easy way to match on a variable number of characters. I have coded a tree search in C++ in the past but was hoping to avoid this.
Many thanks,
YoungCodger