strstr | R Documentation |
find the position of the nth occurrence of needle in haystack, returns 0 if not found
strstr(haystack, needle, startpos = 1, n = 1)
haystack |
a string |
needle |
substring to search for |
startpos |
start position for search |
n |
the nth occurrence |
an integer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.