Nodejs Utililty Methods String Search

List of utility methods to do String Search

Description

The list of methods to do String Search are organized into topic(s).

Method

search(c)
String.prototype.search = function(c){
  console.log(this.length);
  for(var i = 0; i < this.length; i++){
    console.log(this[i]);
    if(this[i] == c){
      return true
  return false
...