Skip to content

Commit b54a118

Browse files
committed
minor #12876 [String] Replace codePoint by codePointsAt (fancyweb)
This PR was merged into the 5.0 branch. Discussion ---------- [String] Replace codePoint by codePointsAt symfony/symfony#33940 renamed the `codePoint` method to `codePointsAt`. Commits ------- d507793 [String] Replace codePoint by codePointsAt
2 parents 0308990 + d507793 commit b54a118

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/string.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ objects::
388388

389389
// returns the value of the code point stored at the given position
390390
// (code points of 'नमस्ते' graphemes = [2344, 2350, 2360, 2340]
391-
u('नमस्ते')->codePoint(0); // 2344
392-
u('नमस्ते')->codePoint(2); // 2360
391+
u('नमस्ते')->codePointsAt(0); // 2344
392+
u('नमस्ते')->codePointsAt(2); // 2360
393393

394394
`Unicode equivalence`_ is the specification by the Unicode standard that
395395
different sequences of code points represent the same character. For example,

0 commit comments

Comments
 (0)