View source: R/string_interpolation.R
| strsplit_capture | R Documentation | 
Split a string, keeping separator regions
strsplit_capture(
  x,
  split,
  ...,
  ignore.case = FALSE,
  fixed = FALSE,
  perl = FALSE,
  useBytes = FALSE
)
| x | character string to split (length 1 vector) | 
| split | split pattern | 
| ... | force later arguments to bind by name | 
| ignore.case | passed to  | 
| fixed | passed to  | 
| perl | passed to  | 
| useBytes | passed to  | 
list of string segments annotated with is_sep.
sinterp, si
strsplit_capture("x is .(x) and x+1 is .(x+1)", "\\.\\([^()]+\\)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.