Re: calculate bytes in string
| From: | Jason Wong | Date: | Sat, 09 Nov 2002 08:39:43 +0000 |
| Subject: | Re: calculate bytes in string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123562@lists.php.net to get a copy of this message | ||
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().