Project

countr

0.0
Low commit activity in last 3 years
No release in over a year
Simple RubyGem that takes a string and displays the number of characters
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.1
~> 12.3
>= 0
 Project Readme

Countr

Gem Version

A simple RubyGem that counts the number of characters in a string and displays it.

NOTE: Make sure to escape any quotes (\\') or double-quotes (\\") (if'n your string has something quoted, for example) so that they are included in the overall count.

Usage

countr STRING

Examples:

  • Tweet length: $ countr \@username and then I said \"OMG this new rubygem called \'countr\' is super-cool!\"
  • Arbitrary sentence: $ countr Sundry items have a way of creeping into your subconscious, whether your mind lingered on them for long or not.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/michaelchadwick/countr.

License

The gem is available as open source under the terms of the MIT License.