nerdexam
Tableau

TDS-C01 · Question #111

TDS-C01 Question #111: Real Exam Question with Answer & Explanation

The correct answer is C. CONTAINS. The CONTAINS function in Tableau is used to check if a specific substring exists within a string and returns a Boolean value (TRUE or FALSE). This function is ideal for identifying whether a particular sequence of characters is present within each value of a column. RTRIM removes

Question

Which string function should you use to find a substring within a column and return a Boolean value?

Options

  • ARTRIM
  • BSPLIT
  • CCONTAINS
  • DENDSWITH

Explanation

The CONTAINS function in Tableau is used to check if a specific substring exists within a string and returns a Boolean value (TRUE or FALSE). This function is ideal for identifying whether a particular sequence of characters is present within each value of a column. RTRIM removes trailing spaces, SPLIT divides strings based on a delimiter, and ENDSWITH checks if a string ends with a specified substring, but none of these functions return a Boolean value indicating the presence of a substring.

Community Discussion

No community discussion yet for this question.

Full TDS-C01 Practice