String Changes

String#blank?

This is a new method that returns true if the string is empty, i.e. is an empty string or contains nothing but whitespace.

Inspired by Rails, but I think it's a useful method for general programming needs.

Also available in: HTML TXT