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