parsing html containing   (non-breaking space)

前端 未结 6 1674
轻奢々
轻奢々 2020-12-16 23:19

I am using rvest to parse a website. I\'m hitting a wall with these little non-breaking spaces. How does one remove the whitespace that is created by the

6条回答
  •  情话喂你
    2020-12-17 00:13

    I was able to remove   spaces at the beginning and end of strings with mystring %>% stringr::str_trim().

提交回复
热议问题