In file miscfx.h:

int search

(char* string, char* keywords)

Search a string for a set of keywords.

Documentation

Search a string for a set of keywords.

This function uses case-sensitive searching (strstr() to locate any of a set of keywords within a string. Partial matching is done, so that, for instance, "word" will match "keywords". Please note that THE keywords ARGUMENT WILL BE DESTROYED IN THE PROCESS OF SEARCHING.

Parameters:
string - The string to search in.
keywords - A string holding space-delimited keywords to search for.
Returns:
Non-zero if one of the keywords was found, zero if not.

Alphabetic index



This page was generated with the help of DOC++.