R: Substrings of a Character Vector - ETH :: D-MATH :: Seminar for Statistics
Details substring is compatible with S, with first and last instead of start and stop. For vector arguments, it expands the arguments cyclically to the length of the longest provided none are of zero length. When extracting, if start is larger than the st...