mid {strings} |
R Documentation |
Returns a string that contains a specified number of characters starting from
Description
a specified position in a string.
Usage
mid(strings, start,
len = -1);
Arguments
strings
Required. String expression from which characters are returned. [as string]
start
Required. Integer expression. Starting position of the characters to return.
If Start is greater than the number of characters in str, the Mid function returns
a zero-length string (""). Start is one based. [as integer]
len
Optional. Integer expression. Number of characters to return. If omitted or if
there are fewer than Length characters in the text (including the character at
position Start), all characters from the start position to the end of the string
are returned. [as integer]
Details
Authors
SMRUCC genomics Institute
Value
A string that consists of the specified number of characters starting from the
specified position in the string.
clr value class
Examples
[Package
strings version 2.33.856.6961
Index]