String.prototype.underscore >= 0.1.0

Purpose

Camelized strings will be returned in underscored format

Syntax

String#underscore ( );

Return values

String

Examples

'this is a test'.underscore();
>>> "this_is_a_test"

'ThisIsATest'.underscore();
>>> "this_is_a_test"