Returns a substring of a string, starting at a specified index position and including the specified number of characters. The index is zero-based.

See https://www.mongodb.com/docs/manual/reference/operator/aggregation/substrBytes/.