Hi Team,
I have following lambda expression
public string Result=> ResultAbbreviation?.Replace("REG:","")
.Replace("Exc","Excellent")
.Replace("Out","Outstanding")
.Replace("Avg","Average")
Now I have my ResultAbbreviation can be of following values REG:Exc,REG:Out,REG: Avg also there can be values like EXREG:Exc,EXREG:Out,EXREG:Avg
What I want to achieve is if My value of ResultAbbreviation contains EXREG I want the Result to be displayed as EX Regular Excellent,EX Regular Outstanding,EX Regular Average but if the ResultAbbreviation contains REG then I want to display the value as Excellent,Outstanding,Average
How can I achieve it in the existing lambda expression ?