TDS-C01 · Question #112
Which string function return a Boolean value as a result?
The correct answer is B. STARTSWITH. The STARTSWITH function in Tableau checks if a string begins with a specified substring and returns a Boolean value (TRUE or FALSE). This makes it useful for conditions where you need to verify the beginning of a text string. The FIND function returns the position of a…
Question
Which string function return a Boolean value as a result?
Options
- AFIND
- BSTARTSWITH
- CCHAR
- DUPPER
How the community answered
(28 responses)- A4% (1)
- B93% (26)
- C4% (1)
Explanation
The STARTSWITH function in Tableau checks if a string begins with a specified substring and returns a Boolean value (TRUE or FALSE). This makes it useful for conditions where you need to verify the beginning of a text string. The FIND function returns the position of a substring, CHAR returns a character based on an ASCII code, and UPPER converts a string to uppercase, none of which produce a Boolean result.
Topics
Community Discussion
No community discussion yet for this question.