Referencia matchRows()

matchRows()

Finds the rows in the Table that match the regular expression provided, and returns references to those rows. Returns an array, so for must be used to iterate through all the rows, as shown in the example. The column to search may be specified by either its ID or title.

Ejemplos

Sintaxis

matchRows(regexp, [column])

Parámetros

regexp
String:

The regular expression to match

column
String|Integer:

The column ID (number) or title (string)

Returns

p5.TableRow[]: An Array of TableRow objects
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.Table.js and open a pull request!

Referencias Relacionadas