|
PHP5中文手册
substr(PHP 4, PHP 5) substr — Return part of a string 说明
string substr
( string $string
, int $start
[, int $length
] )
Returns the portion of string specified by the start and length parameters. 参数
返回值Returns the extracted part of string. 范例
Example#3 Basic substr() usage
<?php |