| Summary |
#include <string.h>
char far *fstrrpbrk (
const char far *string, /* string to search */
const char far *set); /* characters to find */
|
| Description | The fstrrpbrk function searches string for the last occurrence of any character from set. The null terminator is not included in the search. Note - This function uses far pointers to objects and may be used in any memory model other than Tiny Model.
|
| Return Value | The fstrrpbrk function returns a pointer to the last matching character in string. If string contains no characters from set, a null pointer is returned. |
| See Also | fstrcat, fstrchr, fstrcmp, fstrcpy, fstrcspn, fstrlen, fstrncat, fstrncmp, fstrncpy, fstrpbrk, fstrpos, fstrrchr, fstrrpos, fstrspn |
| Example |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_strrpbrk (char far *text) {
char vowels [] ="AEIOUaeiou";
char far *p;
p = fstrpbrk (text, vowels);
if (p == NULL)
printf ("No vowels found in %s\n", text);
}
|