I have strings like this one x <- "123/456/789". I want to do three different things
- Get the first word before
/, that is,123 - Get the word between two
/:456 - Get the last word, the one afte the last
/
I know there are some functions like gsub and packages like stingr but I did not find something useful