Appearance
@saflib/utils
addNewLinesToString(str, maxLineWidth): string
str
maxLineWidth
string
Given a string which may have newlines already included, add /n to each line such that no line is longer than maxLineWidth.
undefined
number
80