valgolang
/
com.valgolang.runtime.utility
/
wrapString
wrap
String
fun
wrapString
(text:
String
, max_length:
Int
= WRAP_LINE_LENGTH):
String
Content copied to clipboard
Formats
text
with \n insertions so each line is less than
max_length
.
Return
Formatted
text
Parameters
text
max_length