|
stristr大文字小文字を区別しない strstr 説明
stringfalse stristr(string
$haystack , string $needle , bool $before_needle = false )
パラメータ
戻り値
マッチした部分文字列を返します。 変更履歴
例
例1 stristr の例
<?php
例2 文字列が見つかるかどうかをテストする
<?php
例3 文字列以外の needle の指定
<?php 注意
参考
|