I have a data set something like this.
df_A <- tribble(
~product_name, ~id,
"xyz.com", 1,
"bkrk.de", 4,
)
I want to remove the characters after the dot, so the desired output would be like this:
df_A <- tribble(
~product_name, ~id,
"xyz", 1,
"bkrk", 4,
)```