search
Homephp教程php手册php入门教程:stripos 实例教程

php入门教程:stripos 实例教程

Jun 13, 2016 am 11:16 AM
phpGetting Started TutorialfunctionExampleTutorialusage

 

php入门教程:stripos  实例教程

定义和用法
该stripos ( )函数返回位置,首次出现了字串的开始位置。

如果字符串是没有发现,此功能返回FALSE 。

stripos(string,find,start)
参数 说明

string: 必须先,

find: 必须要查找的字符串

start: Optional. Specifies where to begin the search


好了下面我们来看看.stripos例子.


echo stripos("Hello world!","WO");
?>


输出结果为.
6


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment