I want to check if news_text variable contains the same string inside the text variable while looping. The string that news _text could have is :
"Yemen minister says Saleh trying to spoil transition http://t.co/aXOQPMzf"
and the string for the text variable is this
"RT @Reuters: Yemen minister says Saleh trying to spoil transition http://t.co/aXOQPMzf"
      for (var i = 0; i < full_array.length; i++) {
          var user = full_array[i].user;
          var date = full_array[i].date;
          var profile_img = full_array[i].profile_img;
          var text = full_array[i].text;
          var news_user = full_array[i].news_user;
          var news_date = full_array[i].news_date;
          var news_profile_img = full_array[i].news_profile_img;
          var news_text = full_array[i].news_text;
          if(text==news_text){
              geocode (user,date,profile_img,text,news_user,news_date,news_profile_img,news_text);
          }
    }
anyone that could help?
 
     
    