substrEnd {FastUtils} | R Documentation |
Extract Substring from Start to End Difference
Description
Extract a substring from a given start position to the position
determined by subtracting endDiff
from the string length.
Usage
substrEnd(x, start, endDiff)
Arguments
x |
A character string from which the substring is extracted. |
start |
The starting position for the substring extraction. |
endDiff |
The difference to subtract from the string length to determine the end position. |
Value
A substring of the input character string.
See Also
Examples
substrEnd("12345", 1, 1)
substrEnd("12345", 1, 2)
substrEnd("12345", 2, 3)
[Package FastUtils version 0.2.1 Index]