InMotion Web Site Hosting
InMotion Hosting Home


iconv_strlen

(PHP 5 CVS only)

iconv_strlen --  Returns the character count of string

Description

int iconv_strlen ( string str [, string charset])

Returns the character count of str.

In contrast to strlen(), the return value of iconv_strlen() is the number of characters that occur in the given byte sequence str, which is not necessarily the same as the byte length of the string.

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


InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050

More information can be found at the InMotion Hosting Main Site

>