Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 7934e83

Browse files
authored
Update functions-string.md (#1442)
1 parent 26011fa commit 7934e83

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

3.12/aql/functions-string.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ Get a 4 characters long substring, starting at the 5th from last character:
18561856
SUBSTRING_BYTES()
18571857
-----------------
18581858

1859-
`SUBSTRING_BYTES(value, offset, length) → substring`
1859+
`SUBSTRING_BYTES(value, offset, length, left, right) → substring`
18601860

18611861
Return a substring of `value`, using an `offset` and `length` in bytes instead
18621862
of in number of characters.
@@ -1874,6 +1874,12 @@ This function is intended to be used together with the
18741874
get the substring from `offset` to the end of the string. The end byte
18751875
(`offset` + `length`) needs to coincide with the end of a character's
18761876
byte sequence
1877+
- **left** (number, *optional*): numbers of characters, if not specified it is
1878+
equal to zero. Move begining of substring to the begining of the string
1879+
on specified numbers of characters.
1880+
- **right** (number, *optional*): numbers of characters, if not specified it is
1881+
equal to left. Move ending of substring to the ending of the string
1882+
on specified numbers of characters.
18771883
- returns **substring** (string\|null): a substring of `value`, or `null` and
18781884
produces a warning if the start or end byte is in the middle of a character's
18791885
byte sequence

0 commit comments

Comments
 (0)