0.0
No commit activity in last 3 years
No release in over 3 years
Provides useful string utils like "truncate to word". Compatible with ruby >= 1.8. Benefits from active_support if available on ruby < 1.9. Tested with: * ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02 *
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0

Runtime

>= 0
 Project Readme
StringUtils gem repo

StringUtils is a library that allows various string manipulation

Usage:

    $ gem install string_utils

In your project:

    require 'string_utils'
    StringUtils.truncate("hello world", 10, "...") #=> "hello..."
    StringUtils.normalize_name "\302\240  Gran Via/Avda.de Asturias " #=> :Gran Via / Avda. de Asturias"