Skip to content

update length() description #4429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/public-api/fql.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ You can use parentheses to group subexpressions for more complex "and / or" logi
| Function | Return Type | Result |
| ----------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `contains( s string, sub string )` | `bool` | Returns `true` if string `s` contains string `sub`. |
| `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. |
| `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. |
| `lowercase( s string )` | `string` | Returns `s` with all uppercase characters replaced with their lowercase equivalent. |
| `uppercase( s string )` | `string` | Returns `s` with all lowercase characters replaced with their uppercase equivalent. |
| `snakecase( s string )` | `string` | Returns `s` with all space characters replaced by underscores. For example, `kebabcase("test string")` returns `test_string`. |
Expand Down