I have a dataframe with a column:
value-1245
value-4578
value-9976
I want to remove "value-" from it and turn it into numeric. So desired result is:
1245
4578
9976
How to do that? I tried str_replace(column1, "value-", "") but it doesn't work.