Click here to convert CSV to fruits array:
  var str = "apple, peaches, oranges, mangoes";