EndsWith
Not available in this language yet.
Not available in this language yet.
EndsWith( value, search )
EndsWith( value, search )
Not available in this language yet.
Not available in this language yet.
EndsWith( value, search )
Not available in this language yet.
Description
The EndsWith
function returns true
when the value
string ends
with the search
string, or false
when it does not.
Examples
The following query demonstrates the case where the value
string
ends with the search
string:
Not available in this language yet.
Not available in this language yet.
System.out.println(
client.query(
EndsWith("Fauna", "a")
).get()
);
client.query(
q.EndsWith('Fauna', 'a')
)
.then(ret => console.log(ret))
Not available in this language yet.
Not available in this language yet.
println(Await.result(
client.query(
EndsWith("Fauna", "a"),
),
5.seconds
))
Not available in this language yet.
true
true
true
The following query demonstrates the case where the value
string
does not end with the search
string:
Not available in this language yet.
Not available in this language yet.
System.out.println(
client.query(
EndsWith("Fauna", "A")
).get()
);
client.query(
q.EndsWith('Fauna', 'A')
)
.then(ret => console.log(ret))
Not available in this language yet.
Not available in this language yet.
println(Await.result(
client.query(
EndsWith("Fauna", "A"),
),
5.seconds
))
Not available in this language yet.
false
false
false
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!