Word wrap

Static variables

@:value("-".charCodeAt(0))staticdef:Int = "-".charCodeAt(0)

@:value("\n".charCodeAt(0))staticnewLine:Int = "\n".charCodeAt(0)

@:value(" ".charCodeAt(0))staticspace:Int = " ".charCodeAt(0)

@:value([" ", "-", "\t"])staticsplitChars:Array<String> = [" ", "-", "\t"]

Static methods

staticwordWrap(str:String, width:Int):String