find any one of the specified characters in a string and return its pointer
LPSTR find_any_of_characters_in_str( LPCSTR lpcsz, LPCSTR lpcszCharList, BOOL bIgnoreQuoted = false )
NULL if none can be found, otherwise pointer location of the 1st found character
EX1
void find_any_of_characters_in_str_ex1() { bool bSkipInsideParenthsis = false; string str = "test (abc@efg.com)"; LPSTR lpsz = find_any_of_characters_in_str(str, "@.", bSkipInsideParenthsis); if(lpsz) out_str(lpsz); else out_str("not found"); }
origin.h