Alvaro Herrera wrote:
Yeah, and join is also consistent with the inverse function being called
"split".  IIRC the equivalent function in PHP is explode().

Actually it looks like PHP supports both explode() and split(), and their inverse functions implode() and join(). split() appears to split the string by regular expression, whereas explode() splits by a simple string separator.

I was not intending to support regex in split(), so maybe the best choice of names is explode() and implode()?


---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to