Picks the substring starting from the first character
strHead(string, n)
Arguments
string |
string |
n |
(integer) Number of characters |
Value
A string
Details
'n' can be in the interval [-len + 1, len] (both ends inclusive)
Examples
#> [1] "st" "st"
#> [1] "strin" "string"
# }