Find()
Description
Description
This will find a string within a field or record
Find text. Returns field/record pair as an array.Find( str 'String to find', field 'field number to start the search from',rec 'Starting record',hint 'RegExp' default=empty^F Find(str,field,rec)
Syntax
Syntax
Function Find( str, field, rec, hint )
Parameters:
Parameters:
string str - string that you want to find
integer field - field number to start the search from
integer rec - the starting record
string hint - pass this parameter as "RegExp" to treat the string as a regular expression (optional)
Return Values:
Return Values:
array - field/record where the string was found
See also
See also