|
|||||||
|
|
mb_strrpos説明int mb_strrpos ( string haystack, string needle [, string encoding])mb_strrpos() は、文字列 haystackの中で needleが最後に現れる位置を返します。 needle が見付からなかった場合、FALSEを返し ます。 mb_strrpos() にマルチバイト対応版の strrpos() 処理を文字数に基づき行います。 位置 needle は、 haystackの始めから数えられます。最初の文字 の位置は0、2番目の文字の位置は1、といったようになります。 encoding が省略された場合、内部文字エンコー ディングが使用されます。strrpos() が英字のみを 受けつけるのに対して、mb_strrpos() は、 needle に stringを指定 可能です。 offset は検索オフセットです。指定されない 場合は、0 が使用されます。 encoding は文字エンコーディング名です。省 略された場合は、内部文字エンコーディングが使用されます。 mb_strpos(), mb_internal_encoding(), strrpos()も参照下さい。 | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright. 1999-2009 Linuxinfor.com. No rights reserved. |