File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
% File src / library / base / man / chartr.Rd
2
2
% Part of the R package , https : // www.R - project.org
3
- % Copyright 1995 - 2024 R Core Team
3
+ % Copyright 1995 - 2025 R Core Team
4
4
% Distributed under GPL 2 or later
5
5
6
6
\name {chartr }
@@ -36,7 +36,9 @@ casefold(x, upper = FALSE)
36
36
Ranges are supported in the specifications , but character classes and
37
37
repeated characters are not. If \code {old } contains more characters
38
38
than new , an error is signaled ; if it contains fewer characters , the
39
- extra characters at the end of \code {new } are ignored.
39
+ extra characters at the end of \code {new } are ignored. To include a literal
40
+ \code {- } that should not denote a range , make it the first or the last
41
+ character in the specification.
40
42
41
43
\code {tolower } and \code {toupper } convert upper - case characters in a
42
44
character vector to lower - case , or vice versa. Non - alphabetic
You can’t perform that action at this time.
0 commit comments