make trim(String[]) handle arrays, Table.trim() handles columns

This commit is contained in:
Ben Fry
2017-01-30 18:54:38 -05:00
parent 8e5c3be1b7
commit da04e3682f
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -4045,6 +4045,7 @@ public class Table {
* @see Table#removeTokens(String)
*/
public void trim() {
columnTitles = PApplet.trim(columnTitles);
for (int col = 0; col < getColumnCount(); col++) {
trim(col);
}