PHP字符串函数strcmp()的用法 PHP
strcmp
(PHP 4, PHP 5)
strcmp — 二进制安全字符串比较
说明
int strcmp
( string $str1
, string $str2
)
注意该比较区分大小写。
参数
str1
PHP字符串函数strchr()的用法 PHP
strchr
(PHP 4, PHP 5)
strchr — 别名 strstr()
说明
此函数是该函数的别名:
strstr().
PHP字符串函数str_word_count()的用法 PHP
str_word_count
(PHP 4 >= 4.3.0, PHP 5)
str_word_count — 返回字符串中单词的使用情况
说明
mixed str_word_count
( string $string
[, int $format = 0
[, string $cha
PHP字符串函数str_replace()的用法 PHP
str_replace
(PHP 4, PHP 5)
str_replace — 子字符串替换
说明
mixed str_replace
( mixed $search
, mixed $replace
, mixed $subject
[, int &$count
] )
该函数返
PHP字符串函数strcspn()的用法 PHP
strcspn
(PHP 4, PHP 5)
strcspn — 获取不匹配遮罩的起始子字符串的长度
说明
int strcspn
( string $str1
, string $str2
[, int $start
[, int $length
]] )
PHP字符串函数strcoll()的用法 PHP
strcoll
(PHP 4 >= 4.0.5, PHP 5)
strcoll — 基于区域设置的字符串比较
说明
int strcoll
( string $str1
, string $str2
)
注意该比较区分大小写。和 s
PHP字符串函数strip_tags()的用法 PHP
strip_tags (PHP 4, PHP 5)
strip_tags — 从字符串中去除 HTML 和 PHP 标记 说明 string strip_tags ( string $str [, string $allowab...
PHP字符串函数stripcslashes()的用法 PHP
stripcslashes
(PHP 4, PHP 5)
stripcslashes — 反引用一个使用 addcslashes() 转义的字符串
说明
string stripcslashes
( string $str
)
返回反转义后的字符串
PHP字符串函数stripos()的用法 PHP
stripos (PHP 5)
stripos — 查找字符串首次出现的位置(不区分大小写) 说明 int stripos ( string $haystack , string $needle [, int $offset =...
PHP字符串函数stristr()的用法 PHP
stristr (PHP 4, PHP 5)
stristr — strstr() 函数的忽略大小写版本 说明 string stristr ( string $haystack , mixed $needle [, bool ...