Find

Find substring in a string

Synopsis

FwStatus   fwsFind_8u ( const Fw8u* pSrcint lenconst Fw8u* pFindint lenFindint* pIndex );
FwStatus   fwsFind_16u ( const Fw16u* pSrcint lenconst Fw16u* pFindint lenFindint* pIndex );
FwStatus   fwsFindRev_8u ( const Fw8u* pSrcint lenconst Fw8u* pFindint lenFindint* pIndex );
FwStatus   fwsFindRev_16u ( const Fw16u* pSrcint lenconst Fw16u* pFindint lenFindint* pIndex );

Parameters

len   Specifies the number of elements in a buffer.
lenFind   Length of the substring.
pFind   Pointer to the substring.
pIndex   Pointer to the index of the result.
pSrc   Pointer to a source buffer.

Description

Find substring in a string