Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 348 Bytes

ends-with.md

File metadata and controls

13 lines (9 loc) · 348 Bytes

ends-with()

boolean ends-with(string haystack, string needle)

The function ends-with returns true if the first argument string ends with the second argument string, and otherwise returns false.

Examples

  • ends-with("foo", "oo") returns true
  • ends-with($request/url, ".json") could be used to identify JSON resources