Re: Simple String Handling
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 22 Dec 2000 15:12:53 +0000 |
| Subject: | Re: Simple String Handling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31583@lists.php.net to get a copy of this message | ||
On Fri, 22 Dec 2000, Anuradha Ratnaweera wrote:
> Isn't it
>
> $tld = substr($input, 0, $pos);
> ^
No, because it starts at $pos and goes to the end.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>