Separating strings

{tidyr} has multiple separate_*() functions:

  • in case the combined strings refer to the same variable:
    • separate_longer_delim()
    • separate_longer_position()
  • in case the combined strings refer to different variables:
    • separate_wider_delim()
    • separate_wider_position()
    • (separate_wider_regex() in next chapter)