Learn R Programming

jjb (version 0.1.1)

url_title: 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.

Examples

Run this code
# NOT RUN {
url_title("My Name is Jaime!")
# }

Run the code above in your browser using DataLab