Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb54a118

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 codePointsAtsymfony/symfony#33940 renamed the `codePoint` method to `codePointsAt`.Commits-------d507793 [String] Replace codePoint by codePointsAt
2 parents0308990 +d507793 commitb54a118

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)

[8]ページ先頭

©2009-2025 Movatter.jp