public static string Limit(this string self, int maxLength) { return self.Substring(0, Math.Min(maxLength, self.Length)); }