Find a pattern in an element of a character vector to identify where to start trimming & trim
| 1 | trim_patterns(string, headpattern, tailpattern)
 | 
| string | the character vector in which to look for pattern | 
| headpattern | the pattern to find in the strings | 
| tailpattern | the pattern to find in the strings | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.