Skip to content

lakshmichandrakala/go-parameterize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-parameterize

Go implementation of Ruby's string parameterize

Replaces contiguous special characters in a string with a '-' and converts all alphabets to lower case. When there are only special characters in the original string, the result of parameterize is an empty string.

Examples: Parameterize("New York") // "new-york" Parameterize("$#@") // "" Parameterize("$#@1#$%") // "1"

Releases

No releases published

Packages

No packages published

Languages