Rdocumentation
powered by
Learn R Programming
datamart (version 0.5.2)
strhead: Get the first n letters
Description
if n>0, return the first n letters of x if n
Usage
strhead(s, n = 1)
Arguments
s
character or character vector
n
numeric, default 1
Value
character