Re: Size of a string

From: Date: Wed, 05 Jul 2000 12:53:13 +0000
Subject: Re: Size of a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4920@lists.php.net to get a copy of this message
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

« previous php.general (#4920) next »