Description Usage Arguments Value Examples
Split a string (e.g. of a url) to extract parts between a given delimeter
1 |
link |
a string with possible characters to use as delimeters (usually a web url) |
split |
the delimter, default is "/" for web urls |
pos |
the position of partial string to extract |
Returns a partial character string from the full input
1 2 3 4 5 6 7 | ## Not run:
x <- "http://www.homedepot.com/b/Electrical-Dimmers-Switches-Outlets/N-5yc1vZc34h"
links <- hd_get_product_links(x)
id <- slit(links[1], 5)
sku <- slit(links[1], 6)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.