string.wrapText
Last updated
Wraptext takes a string in real time and wraps it to a set number of characters
Wraptext needs the number of characters to limit each line to
num = "hello world, im doing pretty well"
log num.wrapText(15)
// hello world, im
// doing pretty
// well
// it inserts newlines into the string so that the text never goes over the limit but also so that the words arent split halfway throughLast updated