i have a Dictionnary(Of String, String) like this :
TY, This Year
LY, Last Year
Q1, This is Q1
Q2, This is Q2
Let's say I have a string : "Last Year This is Q2"
What I would like is to read the string and on first match inside Value of the dicitonnary (here first match would be Last Year , I would like to get the Key "TY" then continue because the string is not finish then get This is Q2 and then go read the value to get the Key "Q2"
So a new string would be "TY Q2"
Can you help me ?
by the way it will always match... the only thing is that we cannot know at wich spaces the next word will be... but if we match "Last Year" the rest of the string should be the next match 100% of the time....