Forum: Ruby on Rails Ruby equivalent of PHP Explode / Implode

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
rails (Guest)
on 2005-11-12 12:49
(Received via mailing list)
Anyone know what the Ruby equivalent of PHP's explode and implode are
for arrays?

- Jim
kyle (Guest)
on 2005-11-12 12:49
(Received via mailing list)
.split .join
felix.mccoey (Guest)
on 2005-11-12 12:49
(Received via mailing list)
Jim Jeffers wrote:
> Anyone know what the Ruby equivalent of PHP's explode and implode are
> for arrays?
>
> - Jim

there is Array#join and String#split

-felix
This topic is locked and can not be replied to.