test.php
// $stringにABCが含まれているか
if (strpos($string, "ABC") === FALSE)
{
// 文字列が無かった場合
}
else
{
// 文字列があった場合
}
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
// $stringにABCが含まれているか
if (strpos($string, "ABC") === FALSE)
{
// 文字列が無かった場合
}
else
{
// 文字列があった場合
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked