FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. For more details, review the migration guide. Contact support@fauna.com with any questions. |
EndsWith
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
EndsWith( value, search )
ends_with( value, search )
EndsWith( value, search )
EndsWith( value, search )
EndsWith( value, search )
Description
The EndsWith
function returns true
when the value
string ends
with the search
string, or false
when it does not.
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
String |
The String to compare. |
|
String |
The String to search for at the end of |
Examples
The following query demonstrates the case where the value
string
ends with the search
string:
true
True
true
BooleanV(True)
true
The following query demonstrates the case where the value
string
does not end with the search
string:
false
False
false
BooleanV(False)
false
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!