Skip to content

glebm/string_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Random string manipulation stuff

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages