Good thinking... I like without the substr() because substr() take more time
than we want it to be....

FletchSOD

"Matt M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > --snip--
> > $char_code = strpos($char_set,(substr($input,$loop,1)));
> > --snip--
>
> even a little shorter
>
> $char_code = strpos($char_set,$input{$loop});

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

Reply via email to