The string to be processed.
The string to prepend to each line.
The processed string with each line prepended by the specified string.
const myString = 'Hello\nWorld';
strPrependLines(myString, '--');
//=> '--Hello\n--World'
Generated using TypeDoc
Prepend each line of a string with a specified string.