Re: Size of a string
| From: | Andy Woolley | Date: | Wed, 05 Jul 2000 12:56:40 +0000 |
| Subject: | Re: Size of a string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4921@lists.php.net to get a copy of this message | ||
Is that not the same thing?
Andy
----- Original Message -----
From: "Corey Mosher" <corey@hub.org>
To: <php-general@lists.php.net>
Sent: Wednesday, July 05, 2000 1:53 PM
Subject: Re: [PHP] Size of a string
> No, I mean the size in bytes, not the length. Sizeof in c determines
> the size in bytes, strlen determines the length.
>
> Corey
>
> On Wed, 5 Jul 2000, Daniel Gustafsson wrote:
>
> > At 08:33 AM 7/5/00 -0400, you wrote:
> > >Hello,
> > > Does anyone know how to get the size in bytes of a string?
> > >Is there a function similar to the c function sizeof?
> >
> > You mean the length of the string?.. strlen(), that's what you use in C
too =)
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> Corey Mosher
> Hub.Org Networking Services
> Wolfville, NS
> Canada
> corey@hub.org
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>