0

I've just started programing with R and have problem with solving an easy task.. So I have a dataframe with a column where all my values starts with DB- and I want to remove the "DB-" from my values. Any suggestion?

pogibas
  • 27,303
  • 19
  • 84
  • 117

1 Answers1

0

You can do so with gsub(), like so:

data$column <- gsub("DB-","",data$column)
93i7hdjb
  • 1,136
  • 1
  • 9
  • 15