mid {easyr} | 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 )