diff options
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2013-July-30'; +modules.threads = '2013-July-31'; var ThreadManager; var Process; @@ -2000,6 +2000,18 @@ Process.prototype.reportUnicodeAsLetter = function (num) { return String.fromCharCode(code); }; +Process.prototype.reportTextSplit = function (string, delimiter) { + var str = (string || '').toString(), + del; + + if (this.inputOption(delimiter) === '--line--') { + del = '\n'; + } else { + del = (delimiter || '').toString(); + } + return new List(str.split(del)); +}; + // Process debugging Process.prototype.alert = function (data) { |
