Cheers buddy!
"Erik Price" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> Bix wrote:
> > Is it possible to look at individual chars of a string?
> >
> > eg: $str = "12345";
> >
> > print $str_1 // Gives "1"
> > print $str_2 // Gives "2"
>
> Try this:
>
>print $str{0}; // giv
Bix wrote:
Is it possible to look at individual chars of a string?
eg: $str = "12345";
print $str_1 // Gives "1"
print $str_2 // Gives "2"
Try this:
print $str{0}; // gives "1"
print $str{1}; // gives "2"
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
2 matches
Mail list logo