| mid | R Documentation | 
Behaves like Excel's LEFT, RIGHT, and MID functions Author: Bryce Chamberlain.
mid(string, start, nchars)
string | 
 String to process.  | 
start | 
 Index (1-index) to start at.  | 
nchars | 
 Number of characters to read in from start.  | 
mid( "leftmidright", 5, 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.