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

Developer

API Reference

STD_STRIENDS()

Brew Release
Brew MP 1.0.2
Description
The std_striends() tests whether a string ends in a particular suffix, case-folding ASCII characters.
Params
cpsz
[]:
string to test
cpszSuffix
[]:
suffix to test for
Interface
Prototype
  •    char *std_striends(const char* cpsz, const char* cpszSuffix);
    
Return
  • the first character of cpsz+std_strlen(cpsz)-std_strlen(cpszSuffix) if cpsz ends with cpszSuffix. NULL otherwise.