Strings and Regular Expressions
Death, taxes, and ... processing text. Yes, these are virtually
inescapable in a programmer’s life. In Ruby, I share your pain.
Using the String
, Regexp
, and
MatchData
classes, Ruby provides sharp tools to
slice, dice, and manipulate text to your heart’s
content.
Get Ruby in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.