endsWith
Full name: taxi.stdlib.endsWith
Signature
declare extension function endsWith(source: String, valueToSearchFor:String):BooleanDescription
Returns true if source ends with the specified suffix. The match is case-sensitive.
// Check if a filename has a specific extension
find {
isCsv: Boolean = FileName.endsWith(".csv")
}Examples
Checks whether a string ends with a given suffix, case-sensitively.
Try it out
Schema
Query Plan
Play with this snippet by editing it here, or edit it on Taxi Playground
Result
Query failed