join_strs_with_max_line_len
- PlasmaCalcs.tools.display.join_strs_with_max_line_len(strs, sep=', ', max=80, *, key=<built-in function len>)
join strs with sep, with max_line_len characters per line;
if joining another str in the same line makes line too long, start new line instead.if sep ends with space and appears at end of line, rstrip() that line.- max: int or None, default 80
- maximum length of line. None -> no maximum (equivalent to sep.join(strs)).
- key: callable, default len
- key(str) should return length associated with str.