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++];
-Melvin
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++];
-Melvin