File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -732,10 +732,16 @@ These operators manipulate strings within projection expressions.
732
732
.. expression:: $substr
733
733
734
734
:expression:`$substr` takes a string and two numbers. The first
735
- number represents the number of characters in the string to skip,
736
- and the second number specifies the number of characters to return
735
+ number represents the number of bytes in the string to skip,
736
+ and the second number specifies the number of bytes to return
737
737
from the string.
738
738
739
+ .. note::
740
+
741
+ ::expression:`$substr` is not encoding aware and if used
742
+ improperly may produce a result string containing an invalid utf-8
743
+ character sequence.
744
+
739
745
.. expression:: $toLower
740
746
741
747
Takes a single string and converts that string to lowercase,
You can’t perform that action at this time.
0 commit comments