30 Aug
2005
30 Aug
'05
5:54 p.m.
Phillip J. Eby wrote:
both split on a given token. partition splits once, and returns all three parts, while piece returns the part you ask for
No, because looking at that URL, there is no piece that is the token split on. partition() always returns 3 parts for 1 occurrence of the token, whereas $PIECE only has 2.
so "absolutely nothing in common" has now turned into "does the same thing but doesn't return the value you passed to it" ? sorry for wasting my time. </F>