Reference matchRow()

matchRow()

Finds the first row in the Table that matches the regular expression provided, and returns a reference to that row. Even if multiple rows are possible matches, only the first matching row is returned. The column to search may be specified by either its ID or title.

Examples

Syntax

matchRow(regexp, column)

Parameters

regexp
String|RegExp:

The regular expression to match

column
String|Integer:

The column ID (number) or title (string)

Returns

p5.TableRow: TableRow object
This page is generated from the comments in src/io/p5.Table.js . Please feel free to edit it and submit a pull request!

Related References