Split String to Chunks - Node.js String

Node.js examples for String:Split

Description

Split String to Chunks

Demo Code

String.prototype.splitchunks = function(s) {
  return s.split(/\n\n+/) 
}

Related Tutorials