Description Usage Arguments Value
Given a string x_y_something_time extract the 'something'
1 2 3 4 | x_y_something(
x = c("x_y_layer_between_two_depths_below_surface_time", "x_y_time2",
"bounds_foo_bar", "x_y_lev_time", "x_y_time")
)
|
x |
the string to parse |
the 'something' string if x doesn't start with x_y_ or starts with x_y_time then "" is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.