레퍼런스 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.

예제

구문

matchRows(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!

관련 레퍼런스