url_title: Create a "safe" url title

View source: R/formatting.R

url_titleR Documentation

Create a "safe" url title

Description

Takes a string, forces characters to lower case, then removes punctuation and switch spaces to - instead of _

Usage

url_title(st)

Arguments

st

A string that needs to be a title in a url

Value

A string with the aforementioned modifications.

Author(s)

James Balamuta

Examples

url_title("My Name is Jaime!")

coatless/balamuta documentation built on Nov. 16, 2023, 5:30 a.m.