README.md

slugify

Overview

Takes a string and makes a user friendly and URL valid string.

This package has no dependencies and relies on base R functions

Installation

library("devtools")
devtools::install_github("cannin/slugify")

Usage

library(slugify)
slugify("HELLO WORLD!!!") # Returns: "hello_world"
slugify("HELLO+WORLD", non_alphanum_replace="_") # Returns: "hello_world"


cannin/slugify documentation built on June 10, 2022, 11:38 a.m.