public static string FirstChars(string str, int count) { return (str.Length <= count) ? str : str.Substring(0, count); }