संदर्भ 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
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!

संबंधित संदर्भ