File: reverse.string.Rd

package info (click to toggle)
r-cran-tcr 2.3.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 2,316 kB
  • sloc: cpp: 187; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/strtools.R
\name{reverse.string}
\alias{reverse.string}
\title{Reverse given character vector by the given n-plets.}
\usage{
reverse.string(.seq, .n = 1)
}
\arguments{
\item{.seq}{Sequences.}

\item{.n}{By which n-plets we should reverse the given strings.}
}
\value{
Reversed strings.
}
\description{
Reverse given character vector by the given n-plets.
}
\examples{
reverse.string('abcde')  # => "edcba"
reverse.string('abcde', 2)  # => "debca"
}