Closed madeinoz67 closed 1 year ago
That's intended, as splitting words is not supported by default. If you really want to split words, try to use hyphenation:
r$> cat(splitLine("web/modules/contrib/webform/modules/webform_submission_export_import/src/WebformSubmissionExportImportImporter.phpt",
+ max.width = 20, use.hyphening = TRUE))
web/modules/contr-
ib/webform/module-
s/webform_submissio-
n_export_import/s-
rc/WebformSubmissi-
onExportImpo-
rtImporter.phpt
I found when trying to split a table where a column contains some long string that it fails to split, digging deeper it looks like the splitLine Function is not working when the string doesn't contain any spaces.