At 5:15 AM -0500 3/21/02, Melvin Smith wrote:
>Well you can now write neato string code with Parrot with standard
>array notation. I mapped it onto the substr w/replace op.
>
>// copy a string
>int i = 0;
>while(str[i] != "")
>    newstr[i] = str[i++];

Shares of Atari Basic... Cool. ;)
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to