这个分页函数非常高只能的
Jun 21, 2016 am 09:04 AM
count
index
lt
print
split
$a="这是一个小段落.看吧";
$a.="这又是小句!";
$a.="最后一句?";
$a.="这是结果了!";
//其实这是一个长的字句。
$b=split("[\.\!\?]",$a,4);
//根本句号,!号,问号等按自己的要求分段
for($index=0;$index {
print "$index.$b[$index]
";
}
//在循环中读出数组。
?>
$a.="这又是小句!";
$a.="最后一句?";
$a.="这是结果了!";
//其实这是一个长的字句。
$b=split("[\.\!\?]",$a,4);
//根本句号,!号,问号等按自己的要求分段
for($index=0;$index
print "$index.$b[$index]
";
}
//在循环中读出数组。
?>
Statement of this Website
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 Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot tools Tags

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The difference between counta and count

How to use the split method in Java String

How to solve 'undefined: bytes.Split' error in golang?

What is the use of split method in go language

Detailed explanation of split command in Linux
