Tag: get string before specific character c#