[R] A simple string alienation problem

Richard O'Keefe r@oknz @end|ng |rom gm@||@com
Wed Apr 15 14:17:29 CEST 2020


I'm very confused by the phrase "string alienation".
You mention two problems:
(1) remove " from a string
      sub('"', '', vector.of.strings)
      will do that.  See
      ?grep
      for details.
(2) split a string at occurrences of /
      strsplit(vector.of.strings, "/")
      will do that.  It gives you a list of vectors of strings.  See
      ?strsplit
      for details.



More information about the R-help mailing list