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