MCPcopy Create free account
hub / github.com/OpenDiablo2/HellSpawner / SplitIntoLinesWithMaxWidth

Function SplitIntoLinesWithMaxWidth

hscommon/hsutil/stringutils.go:9–39  ·  view source on GitHub ↗

SplitIntoLinesWithMaxWidth splits the given string into lines considering the given maxChars

(fullSentence string, maxChars int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CreateFunction · 0.92

Calls 1

splitCjkIntoChunksFunction · 0.85

Tested by

no test coverage detected