private static bool HasArrow(string text) { return text.Length > 0 && (text[text.Length - 1] == ArrowUp || text[text.Length - 1] == ArrowDown); }