Report question

Question: C# removing substring from end of string