[DOCS-15762] [SERVER] Incorrect example in $substrCP Created: 29/Nov/22  Updated: 30/Oct/23  Due: 17/Jan/23  Resolved: 17/Jan/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Raymond Hu Assignee: Joseph Dougherty
Resolution: Fixed Votes: 0
Labels: intern-friendly
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 2 weeks, 1 day ago
Epic Link: DOCSP-11701

 Description   

Hi team,

In the definition of $substrCP, one of the examples is incorrect.

{ $substrCP: [ "cafétéria", 5, 4 ] }

resolves to éria, not tér as per example.

Best regards,

Raymond



 Comments   
Comment by Githook User [ 24/Jan/23 ]

Author:

{'name': 'jmd-mongo', 'email': '73852296+jmd-mongo@users.noreply.github.com', 'username': 'jmd-mongo'}

Message: DOCS-15762 fixes issue in substrCP output (#2362)
Branch: master
https://github.com/10gen/docs-mongodb-internal/commit/f9ced034a782ef72646ae4362eca770d04f300b0

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