Tag: r extract string before character