Closed freddyb closed 6 years ago
Good idea! I'm sure this would be useful for others as well. I would probably implement it similar to the way ChannelExt is implemented. That is, we could provide an extension trait for String
that adds something like strip_irc_formatting
which does what you suggest.
I would like to implement a utility function that strips IRC colors. Where would you suggest this to be implemented?