Skip to content

Commit 71553e3

Browse files
authored
Merge pull request #4429 from segmentio/spencerattick-patch-1
update length() description
2 parents 7bd1594 + 0edc0af commit 71553e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/public-api/fql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ You can use parentheses to group subexpressions for more complex "and / or" logi
130130
| Function | Return Type | Result |
131131
| ----------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
132132
| `contains( s string, sub string )` | `bool` | Returns `true` if string `s` contains string `sub`. |
133-
| `length( list or string )` | `number` | Returns the number of elements in a list or number of bytes (not necessarily characters) in a string. For example, `a` is 1 byte and`` is 3 bytes long. |
133+
| `length( list or string )` | `number` | Returns the number of elements in a list or number of bytes (not necessarily characters) in a string. For example, `a` is 1 byte and`` is 3 bytes long. Please note that you can't use this function with JSON as the argument. Using JSON may result in the function not working. |
134134
| `lowercase( s string )` | `string` | Returns `s` with all uppercase characters replaced with their lowercase equivalent. |
135135
| `uppercase( s string )` | `string` | Returns `s` with all lowercase characters replaced with their uppercase equivalent. |
136136
| `snakecase( s string )` | `string` | Returns `s` with all space characters replaced by underscores. For example, `kebabcase("test string")` returns `test_string`. |

0 commit comments

Comments
 (0)