When
· Naughties
· · 2006
· · · October
· · · · 13 (1 entry)
Ruby String Walking ·
In preparation for my presentation next weekend at RubyConf, I’ve been poking around at Ruby’s string-handling. One thing that text-wranglers such as me like to do is walk through a string a character at a time, and Ruby doesn’t make this particularly easy. I ended up implementing String#each_char_utf8
three times along the way. [Update: Lots of interesting feedback, and a worth-reading ruby-talk thread.] ... [8 comments]
By Tim Bray.
The opinions expressed here
are my own, and no other party
necessarily agrees with them.
A full disclosure of my
professional interests is
on the author page.
I’m on Mastodon!