diff options
| author | Michael Ball <cycomachead@gmail.com> | 2014-07-17 12:02:07 -0700 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2014-07-17 12:02:07 -0700 |
| commit | 440cd340a5231e2d3498006f46004058b05af1f8 (patch) | |
| tree | 1ad6e9e7feb634d4a7677ac81c4907336d3cfcff /threads.js | |
| parent | 4fa53772f5f60cb4e3a0a0c34ecf56836e2f13ca (diff) | |
| download | snap-byow-440cd340a5231e2d3498006f46004058b05af1f8.tar.gz snap-byow-440cd340a5231e2d3498006f46004058b05af1f8.zip | |
Split Block: Add a character option for clarity
This also allows the split block to be used more easily in a HOF
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2148,6 +2148,9 @@ Process.prototype.reportTextSplit = function (string, delimiter) { break; case 'whitespace': return new List(str.trim().split(/[\t\r\n ]+/)); + case 'character': + del = ''; + break default: del = (delimiter || '').toString(); } |
