I have a database column, delimited by colons, describing a category hierarchy like so:
ID | Category
100 | Domestic:Trees:Fruit:Apples
I would like to extract only the third segment of the hierarchy "Fruit" from the text. How can I use Linq Regex or Linq Filtering to extract just that segment? Is it a good idea to extract information this way for every time a user selects a category?