Skip to content

Commit dc0bb37

Browse files
committed
Merge pull request #2 from raiph/patch-1
.graphemes never worked. Should be .chars
2 parents 7a1f5c2 + d487a85 commit dc0bb37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: count-characters/perl6.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ $count = $str.codes;
1010

1111
## Grapheme clusters
1212

13-
The `graphemes` method is available for strings (`Str` objects).
13+
The `chars` method is available for strings (`Str` objects).
1414

1515
```perl
16-
$count = $str.graphemes;
16+
$count = $str.chars;
1717
```

0 commit comments

Comments
 (0)