Cornelia Boenigk wrote:

> Hi Matt
> 
> You can teat a string like an Array
> $first = $string[0];
> $second = $string[1]
> and so on.

Actually this method is deprecated. The current best way is to use curly
braces.

$first = $string{0};
$second = $string{1};


Lang

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to