How to check if a string contains a specific word or character set

后端 未结 0 1013
生来不讨喜
生来不讨喜 2021-01-02 04:15

$result = "5564ggdt363sss-32232";

I want to check; Does $result string contain a specific code like "63s" ?

Tried strpos and preg_replace

相关标签:
回答
  • 消灭零回复
提交回复
热议问题