title: How to append String from an array to Text() in mapreduce
body: <p>I have strings in an array. I need to append all the elements of the array based on the index to the <code>Text()</code> in mapreduce. I need to append the values as string in the Text()</p>
  
  <p>For example:   </p>
  
  <pre><code> String s = "12,23";
   String[] array = s.split(",");
   Text t1 = new Text();
   for(int i=0;i&lt;array.length;i++) {
       t1.append(array[i]);
   }
  </code></pre>