I have a collection. The column has rows:
Location="Theater=1, Name=regal, Area=Area1"
Location="Theater=34, Name=Karm, Area=Area4445"
etc. I need to extract only the Name bit from the string. For example, here I have to extract the text "regal" and group the query. Then display the result as
Name=regal Count 33
Name=Karm Count 22
I am struggling with the request:
Collection.Location.GroupBy (????); (what to add here)
What is the shortest and most accurate way to do this?
Kjai
source
share