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
Follow up from #264 and a question on the mailing list.
The proposal is to make slice work on strings and binary data in addition to arrays.
On binary data it would operate on a byte level, and on string data it would operate on UTF-8 code points.
Scheduling for 2.2 since it has come up repeatedly.
Activity
coffeemug commentedon May 13, 2015
slicealready works on binary data.danielmewes commentedon May 13, 2015
Oh I didn't realize that. Thanks @coffeemug .
So that just leaves strings.
mlucy commentedon Aug 27, 2015
+1, defining
sliceon strings seems good.coffeemug commentedon Aug 27, 2015
👍
VeXocide commentedon Aug 27, 2015
+1
danielmewes commentedon Sep 3, 2015
Marking as settled (extending
sliceto work on strings, where the indexes should be based on code points).encryptio commentedon Dec 14, 2015
In CR 3397 with @Tryneus
encryptio commentedon Dec 22, 2015
In
nextas of 85a9f88, will be in 2.3.ReQL: support string.slice()