参考 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.

示例

语法

matchRow(regexp, column)

参数

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!

相关参考