Jai_Format module

format_count_long_lines

procedureextensionSource

Lines in text longer than max_width code points.

Example↗
assert(format_count_long_lines("short\na much longer line\n", 10) == 1);
format_count_long_lines :: (text: string, max_width: int) -> int

Parameters

text: string
max_width: int

Returns

int

See also