Warning
p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
Trims leading and trailing whitespace, such as spaces and tabs, from String table values. If no column is specified, then the values in all columns and rows are trimmed. A specific column may be referenced by either its ID or title.
Examples
Syntax
trim([column])
Parameters
column
String|Integer: Column ID (number) or name (string)
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.Table.js and open a pull request!
Related References
p5.Table
Table objects store data with multiple rows and columns, much like in a traditional spreadsheet.
p5.TableRow
A TableRow object represents a single row of data values, stored in columns, from a table.
addColumn
Use addColumn() to add a new column to a Table object.
addRow
Use addRow() to add a new row of data to a p5.Table object.