伪代码
text = "I go to school"; word = "to" if ( word.exist(text) ) { return true ; else { return false ; }
我正在寻找一个PHP函数,如果文本中存在单词,则返回true.
php string
php ×1
string ×1