[226bc8]: / man / toCaps.Rd

Download this file

26 lines (25 with data), 418 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\name{toCaps}
\alias{toCaps}
\title{
Capitalize first character
}
\description{
The function capitalizes the first character of the given string or every
element of the character vector.
}
\usage{
toCaps(word)
}
\arguments{
\item{word}{character vector}
}
\value{
character vector
}
\author{
Małgorzata Oleś <dr.malgorzata.oles@gmail.com>
}
\examples{
toCaps("abc")
toCaps(c("abc", "Abc", "aBC", "ABC", "4you"))
}