On Saturday 09 November 2002 14:22, Ian Newlands wrote:
> Does anyone know of a function, or a method to calculate how many bytes are
> in a string?  Similar to the filesize file system function.
>
> Any help would be appreciated.

Assuming 1 character = 1 byte, then strlen().

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to