Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

datamart (version 0.3.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