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

The regular expression to match

column

The column ID (number) or title (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!

Referencias Relacionadas