Re: Quick Help
| From: | Philip Olson | Date: | Wed, 01 Nov 2000 03:30:42 +0000 |
| Subject: | Re: Quick Help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23073@lists.php.net to get a copy of this message | ||
Curtis-
First, posting this three times in 30 minutes is an ass thing to do. That
said go here :
http://www.zend.com/zend/tut/using-strings.php
The end will discuss substr() which will help you. Of course manual :
http://www.php.net/manual/function.substr.php
Is available as well.
Philip
--
be outside the box.
On Tue, 31 Oct 2000, Curtis, Lorenzo wrote:
> Can anyone tell me how to read the first three characters (numbers) of a
> variable?
>
> I want to read only the first three numbers from a string of numbers all
> saved in a mySQL text field
> with no delimiters.
>
> -Lorenzo
>
>
> --
> 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
>