MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / wrapWords

Method wrapWords

src/main/java/com/volmit/adapt/util/Form.java:138–140  ·  view source on GitHub ↗

Soft Word wrap @param s the string @param len the length to wrap @return the wrapped string

(String s, int len)

Source from the content-addressed store, hash-verified

136 * @return the wrapped string
137 */
138 public static String wrapWords(String s, int len) {
139 return wrap(s, len, null, true);
140 }
141
142 public static String wrapWordsPrefixed(String s, String prefix, int len) {
143 return wrapPrefixed(s, prefix, len, null, true);

Callers 1

Calls 1

wrapMethod · 0.95

Tested by

no test coverage detected