API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

FUNCTION: STRSTR()

Brew Release
Brew MP 1.0.2
See Also
STRCHR() MEMSTR() Helper Functions
Description
Finds the first occurrence of a string in another string. This function is a wrapper around the strstr() function provided by the standard C library. Its behavior is identical to that of strstr(). This function will always take single-byte character as input.
Params
pszHaystack
[]:
The string to search.
pszNeedle
[]:
The string to search for.
Prototype
  •    char *STRSTR( const char *pszHaystack, const char *pszNeedle);
    
Return

  • Returns a pointer to the first occurrence of pszNeedle in pszHaystack, or NULL if pszNeedle is not found.
Side Effect
  • None
Comments
None