Method TakeChars TakeChars(string, int, bool) Declaration public static string TakeChars(this string str, int maxChars, bool addSuffix = false) Parameters Type Name Description string str int maxChars bool addSuffix Returns Type Description string