| Line 23... |
Line 23... |
| 23 |
}
|
23 |
}
|
| 24 |
\details{
|
24 |
\details{
|
| 25 |
\code{chartr} translates each character in \code{x} that is specified
|
25 |
\code{chartr} translates each character in \code{x} that is specified
|
| 26 |
in \code{old} to the corresponding character specified in \code{new}.
|
26 |
in \code{old} to the corresponding character specified in \code{new}.
|
| 27 |
Ranges are supported in the specifications, but character classes and
|
27 |
Ranges are supported in the specifications, but character classes and
|
| 28 |
repreated characters are not. If \code{old} contains more characters
|
28 |
repeated characters are not. If \code{old} contains more characters
|
| 29 |
than new, an error is signaled; if it contains fewer characters, the
|
29 |
than new, an error is signaled; if it contains fewer characters, the
|
| 30 |
extra characters at the end of \code{new} are ignored.
|
30 |
extra characters at the end of \code{new} are ignored.
|
| 31 |
|
31 |
|
| 32 |
\code{tolower} and \code{toupper} convert upper-case characters in a
|
32 |
\code{tolower} and \code{toupper} convert upper-case characters in a
|
| 33 |
character vector to lower-case, or vice versa. Non-alphabetic
|
33 |
character vector to lower-case, or vice versa. Non-alphabetic
|