public static string GetLast(this string s, int tail_length) { if (tail_length >= s.Length) return s; return s.Substring(s.Length - tail_length); } }