Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r extract everything before character

library(stringr)
str = c("1", "1_ghfjv", "1")
str_extract(string = str, pattern = "[^_]"))
 
PREVIOUS NEXT
Tagged: #extract #character
ADD COMMENT
Topic
Name
2+3 =