code: protected static String getAsCsv( String[] strings )
      {
          String csv = "";
          if ( null != strings )
          {
              for ( int i = 0; i < strings.length; i++ )
              {
                  csv += strings[i];
                  if ( i < ( strings.length - 1 ) )
                  {
                      csv += ",";
                  }
              }
          }
          return csv;
      }
docs: Convert a string array to a comma separated list
  
  @param strings
  @return