R/TrimHead.R

Defines functions TrimHead

TrimHead <-
function(x) {
  # remove starting @, .@, RT @, MT @, etc.

  sub('^(.*)?@', '', x)
}

Try the SocialMediaLab package in your browser

Any scripts or data that you put into this service are public.

SocialMediaLab documentation built on May 29, 2017, 9:41 p.m.