withLineNumbers
Prepends line numbers to each line of this String.
Return
the string with line numbers
Parameters
separator
the character between the line number and content (default ':')
Prepends line numbers to each line of this String.
the string with line numbers
the character between the line number and content (default ':')