Javascript String findColumn(n)

Description

Javascript String findColumn(n)

String.prototype.findColumn = function(n) {
 var c = this.length % n 
 var values = ""
 for(var x=0; x<81; x +=9){
   values += this[x+c]/*from   www .jav a2 s .  co m*/
 }
 return values
}



PreviousNext

Related