tfStrCSpn

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


unsigned int tfStrCSpn (
const char TM_FAR * bufferStringPtr,
const char TM_FAR * stringPtr
);


Function Description

This function searches for any characters in 'stringPtr' that also appear in the 'bufferStringPtr' and returns the offset of the first matched character in 'bufferStringPtr'.


Returns

  • unsigned int
    The offset where the first matched character of 'stringPtr' was found in 'bufferStringPtr'.


Table of Contents >> Programmer's Reference