• Post Reply Bookmark Topic Watch Topic
  • New Topic

read certain string from column of text file  RSS feed

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 5 columns in text file, I am reading certain column by this code:

And 5th column contains text of colors such as green, blue, red, yellow, ...
So I want to sort this colors and select just exact color, e.g. blue, and populate jComboBox from 5th column with string "blue".
So I would like to ask how to read certain string from column of text file?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!