| Calling Sequence | BestSearchString(pat,text)
| ||||||||||||
| Parameters |
| ||||||||||||
| Return Type | {0,posint} | ||||||||||||
| Globals | NumberErrors, | ||||||||||||
| Synopsis | The BestSearchString function returns the best match of pat in the body of text txt. If no match is found, it takes the first match (index 0). | ||||||||||||
| Examples | > BestSearchString('CYIQNCPRG', 'PPATBCYTQNCPLGFPTTSPS');
5 > BestSearchString('CYIQNCPRG', 'XXXXXXXXXXXXXXXXX');
0 | ||||||||||||
| See also | ApproxSearchString, CaseSearchString, HammingSearchString, SearchDelim, SearchMultipleString, SearchString | ||||||||||||