You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/string/next-grapheme-cluster-break/README.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ var out = nextGraphemeClusterBreak( 'last man standing' );
49
49
// returns 1
50
50
```
51
51
52
-
By default, the first extended grapheme cluster break in the string is returned. For the next extended grapheme cluster break after a specified position in the string, provide a `fromIndex`.
52
+
By default, the function searches for a grapheme cluster break starting from the first index. To specify an alternative starting search index, provide a `fromIndex` argument.
53
53
54
54
```javascript
55
55
var out =nextGraphemeClusterBreak( 'last man standing', 4 );
@@ -85,17 +85,17 @@ var out = nextGraphemeClusterBreak( 'last man standing', 4 );
85
85
```javascript
86
86
var nextGraphemeClusterBreak =require( '@stdlib/string/next-grapheme-cluster-break' );
87
87
88
-
console.log( nextGraphemeClusterBreak( 'last man standing', 4 ) );
89
-
//=> 5
88
+
var out =nextGraphemeClusterBreak( 'last man standing', 4 );
0 commit comments