I am generating a Jtable that has some information, however there is a field that obtains several data and they are stored to the side inside the same cell, currently separated by a comma (,) but my problem is that I need no last comma.
For example, it looks like this:
Juan, Pedro, Pablo,
This is how one words:
String a1 = ResultSet.getString("analisis");
c += a1 + "," ;