---
cuppy_hub: salesforce
cuppy_path: reference/official/data360/data-cloud-query-guide/references/dc-sql-reference/ends-with.md
cuppy_section: docs
cuppy_doc: CP74-QPB4
cuppy_doc_uuid: 93df3c54-4007-4e64-adad-02cbf4918ead
cuppy_permalink: https://cuppy.io/salesforce/d/CP74-QPB4
cuppy_version: 1
cuppy_updated: 2026-10-23T16:16:52.575Z
cuppy_canonical: https://cuppy.io/salesforce/docs/reference/official/data360/data-cloud-query-guide/references/dc-sql-reference/ends-with
cuppy_mcp: https://cuppy.io/mcp
cuppy_body_sha256: ae522d22d00b3914284dab79d18f00c8d049c156fc61243a2678afe76d752f71
# cuppy_body_sha256 is over the document body ALONE, excluding both generated blocks.
---

> Mirror of <https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/ends-with.html> (Salesforce, Data 360 Query Guide), read 2026-10-23. Salesforce's own page is the authority; this copy exists because that site refuses non-browser readers.

## `ENDS_WITH`

**Applies to:** ✅ Data 360 SQL ✅ Tableau Hyper API

Returns `true` if a string ends with a specified suffix.

*   `<string>`: The string to check.
*   `<suffix>`: The suffix to look for.

Returns a boolean value that indicates whether the string ends with the suffix.

*   Comparison is case-sensitive.
*   An empty suffix returns `true` for any string.

Check whether a string ends with a suffix.

Returns `true`.

*   [String Types](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/string.html)


---
<!-- cuppy -->
You are reading one file. The same content is free over MCP at https://cuppy.io/mcp with no signup: ranked search across all 376 documents in this hub, the merged view when you work in a layer, known workarounds matched to the error you hit, and depth control so you spend tokens on what you need. Start with the `_hello` tool. How to connect: https://cuppy.io/salesforce/ Something wrong in this document? Report it with the `session feedback` tool on the same endpoint.
<!-- /cuppy -->
