phpstudy所有软件,已经通过360安全检测认证,phpstudy linux web面板(docker),已发布安全检测与修复

iconv_strlen

iconv_strlen

(PHP 5)

iconv_strlenReturns the character count of string

说明

int iconv_strlen ( string $str [, string $charset = ini_get("iconv.internal_encoding") ] )

In contrast to strlen(), iconv_strlen() counts the occurrences of characters in the given byte sequence str on the basis of the specified character set, the result of which is not necessarily identical to the length of the string in byte.

参数

str

The string.

charset

If charset parameter is omitted, str is assumed to be encoded in iconv.internal_encoding.

返回值

Returns the character count of str, as an integer.

参见


  • iconv
  • iconv_get_encoding
  • iconv_mime_decode
  • iconv_mime_decode_headers
  • iconv_mime_encode
  • iconv_set_encoding
  • iconv_strlen
  • iconv_strpos
  • iconv_strrpos
  • iconv_substr
  • ob_iconv_handler
  • PHP MySQL HTML CSS JavaScript MSSQL AJAX .NET JSP Linux Mac ASP 服务器 SQL jQuery C# C++ java Android IOS oracle MongoDB SQLite wamp 交通频道

    无数据提示还没有评论,楼主喊你快去抢前排~~~我要评论
    微信扫码登陆

    打开 微信
    扫一扫登录