On Sun, 12 Jul 2009 23:39:12 -0400, Uri Guttman wrote: < stuff snipped >
> intersting point. the docs say: > > Joins the separate strings of LIST into a single string with > fields separated by the value of EXPR, and returns that new > string. Example: > > but the key point (implied i would say) is that the order of a list is > immutable. lists are read only and on the stack so they must be > processed left to right. this is how foreach works as well as > map/grep. so even though it doesn't state this explicitly, it is safe to > assume join keeps the ordering. not only is it expected but massive > amounts of code assumes it and it is the only logical way it could be > done. joining in a different order would definitely be mentioned in the > docs. > > uri Excellent. Thanks to all those who responded. This is also what I assumed, but as has been discussed, it's not actually mentioned in the docs. Thanks once more :) Dan