Ruby for All cover image

Favorite Ruby Methods: Part 3 - Strings

Ruby for All

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner