Beispiel #1
0
 /**
  * Wrap the message to a specific length by splitting the message over multiple lines.
  *
  * <p>Uses {@link Str#wrapStringExact(String, int)}
  *
  * <p>
  *
  * <p>A new line symbol '\n' will be added at the specified length Words will be cut in half using
  * this wrapping method.
  *
  * @param length The length used for wrapping.
  * @return This msg instance.
  */
 public Msg wrapExact(int length) {
   message = Str.wrapStringExact(message, length);
   return this;
 }