We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54a118 commit 9fb4110Copy full SHA for 9fb4110
components/string.rst
@@ -386,10 +386,10 @@ objects::
386
u('さよなら')->ascii(); // 'sayonara'
387
u('спасибо')->ascii(); // 'spasibo'
388
389
- // returns the value of the code point stored at the given position
+ // returns an array with the code point or points stored at the given position
390
// (code points of 'नमस्ते' graphemes = [2344, 2350, 2360, 2340]
391
- u('नमस्ते')->codePointsAt(0); // 2344
392
- u('नमस्ते')->codePointsAt(2); // 2360
+ u('नमस्ते')->codePointsAt(0); // [2344]
+ u('नमस्ते')->codePointsAt(2); // [2360]
393
394
`Unicode equivalence`_ is the specification by the Unicode standard that
395
different sequences of code points represent the same character. For example,
0 commit comments