# str_detect with if else