[DOCS-10365] Comment on: "manual/reference/operator/aggregation/strLenCP.txt" Created: 08/Jun/17  Updated: 29/Oct/23  Resolved: 28/Jun/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Blocker - P1
Reporter: Peter Schmidt Assignee: Jeffrey Allen
Resolution: Fixed Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/operator/aggregation/strLenCP/#exp._S_strLenCP
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Referrer: https://github.com/
Screen Resolution: 1680 x 1050


Participants:
Days since reply: 6 years, 32 weeks, 6 days ago

 Description   

cafeteria example length should be 9, not 11



 Comments   
Comment by Githook User [ 30/Jun/17 ]

Author:

{u'username': u'jeff-allen-mongo', u'name': u'jeff-allen-mongo', u'email': u'jeffrey.allen@10gen.com'}

Message: DOCS-10365 - Minor text fix for strLenCP

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/9d75372e2e21ca811aa237c7b84ae2abca2086fe

Comment by Peter Schmidt [ 09/Jun/17 ]

cafétéria should also be 9, not 11:

// Just so a document exists and the agg pipeline returns something
db.food_places.insert({a:1})
db.food_places.aggregate([{$project:{length:{$strLenCP: "cafétéria"}}}])
{ "_id" : ObjectId("593a07492ab92c902a270157"), "length" : 9 }

Generated at Thu Feb 08 08:00:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.