Re: Quick help
| From: | Jeff Lacy | Date: | Wed, 01 Nov 2000 05:14:56 +0000 |
| Subject: | Re: Quick help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23081@lists.php.net to get a copy of this message | ||
Naughty naughty naughty! Let's keep it clean. :-)
h e double hockey (sucks) sticks
"Maxim Maletsky" <maxim.maletsky@japaninc.net> wrote in message
news:DC017B079D81D411998C009027B7112A5EABFB@EXC-TYO-01...
> $Srting = 'Hello World';
> $SubString = subsrt($Srting, 0, 4);
> echo $SubString;
>
> # returns:
>
> Hell
>
> does this help?
>
>
> -----Original Message-----
> From: Curtis, Lorenzo [mailto:Lorenzo.Curtis@prexar.com]
> Sent: Wednesday, November 01, 2000 11:48 AM
> To: PHP General Help (E-mail)
> Subject: [PHP] Quick help
>
>
> 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
>
> --
> 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
>