Appian Associate Developer (ACD100) — Question 32

Given a Text type input of ri!text, which function will return that text without any spaces in the text?

Answer options

Correct answer: C

Explanation

The correct answer is C, as stripwith is designed to remove specified characters, including spaces, from the beginning and end of the input. Option A, trim, only removes spaces from the ends of the text, while option B would only remove individual spaces and not all of them. Option D, flatten, is not relevant for removing spaces from the text.