Learn R Programming

malaytextr (version 0.1.3)

remove_url: Remove URL links

Description

Remove URL links

Usage

remove_url(string)

Value

Returns a string with URL links removed

Arguments

string

String to change

Details

remove_url() is an approach to remove link(s) from a string

Examples

Run this code
x <- c("test https://t.co/fkQC2dXwnc", "another one https://www.google.com/ to try")
remove_url(x)

Run the code above in your browser using DataLab