Split String to lines - Node.js String

Node.js examples for String:Split

Description

Split String to lines

Demo Code


String.prototype.splitlines = function(s) {
  return s.split('\n') 
}

Related Tutorials