Is there something like "$slice" in mongodb, that retrieves slice of a text feild, instread of array?
I mean as we can get slice of comments in this way: db.posts.find({}, {comments:{$slice: 5}}) // first 5 comments
get slice of descriptions, in some way like this: db.posts.find({}, {description:{$slice: 100}}) // first 100 chars
thanks