-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently $split takes a single 'xxx' string and splits a string wherever this string appears.
It would be nice if it could accept a list of strings to split on. So
input: {s:"abc/xyz=999-123"}
{split:["$s",['/','=','-']]}
output: [ "abc", "xyz", "999", "123" ]