Tag: strings

Episode #535
Episode #535: String Cleaning with Avdi
Master Ruby's power tools for cleaning up and normalizing strings.

Episode 524: Data Munging Play-by-Play Part 2 with Avdi Grimm
Part 2/2 of a play-by-play of a recent Ruby data-munging coding session. More fun with regexes, lazy enumerators, and more!

Episode 523: Data Munging Play-by-Play Part 1 with Avdi Grimm
Check out this play-by-play of a recent Ruby data-munging coding session, with commentary on live/fast feedback, lazy enumerators, and more!

How to make your Ruby code work on Windows PCs
Windows users can feel like second-class-citizens in the Ruby world. Ruby gems and tools often don't work quite right on Windows hosts. But we can fix this. Making your code …

Episode #399: StringIO Test Fake
Today we learn about how the StringIO class can help us test methods that work with files.

Episode #398: StringIO
After many passing mentions, StringIO finally gets its own episode!

Episode #382: Integer To String, Part 2
In the thrilling conclusion to Part 1, we generalize our solution and discuss algorithm-solving strategy.

Episode #381: Integer To String
Today, a little computer-science problem offers some useful insights.

Episode #352: String Justify
In this episode, we'll learn how to do basic tabular text layouts without resorting to printf-style format specifiers.