Ruby for All cover image

Favorite Ruby Methods: Part 3 - Strings

Ruby for All

00:00

How to Split a CSV File Into Categories?

The thing I find myself doing is like, I'll split, but then I'll turn it back into a string. But yeah, split's a good one. Oh, that's not on our list. You would join them by what? Well, at that point, it would be an array because this returns an array. Join doesn't have to be with a space. It could be with a comma or it could be with dashes or something like that. So it could be like a way of formatting text a certain way.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app