【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.2.39 okutil_search_text
Contents
Description
search keywords in text
Syntax
int okutil_search_text( LPCSTR pcszKeywords, LPCSTR pcszText, char cSep )
Parameters
- pcszKeywords
- [input] the keywords to search for. case insensitive
- pcszText
- [input] the text to search for the keywords. case insensitive
- cSep
- [input] seperator char
Return
Returns number of keywords found in text
Examples
EX1
void okutil_search_text_ex() { int nRet = okutil_search_text("red|blue|black", "Superman is in red and blue", '|'); out_int("nRet=", nRet); }
See Also
Header to Included
origin.h