Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam ACD100 topic 1 question 59 discussion

Actual exam question from Appian's ACD100
Question #: 59
Topic #: 1
[All ACD100 Questions]

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

  • A. trim(ri!text)
  • B. remove(ri!text, " ")
  • C. stripwith(ri!text, " ")
  • D. flatten(ri!text)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
nyxxx
1 year ago
Selected Answer: C
Both option B and C can be used to remove spaces from the input text. However, the difference between them is that remove(ri!text, " ") removes all occurrences of the specified character (in this case, the space character) from the input text, while stripwith(ri!text, " ") removes only leading and trailing occurrences of the specified character. Therefore, in the case where you want to remove all spaces from the input text, option B (remove(ri!text, " ")) is better.
upvoted 1 times
Sid_16
1 year ago
remove() is used for removing a value from an array by providing the index as one its parameter Stripwith() removes all the characters in the input which is specified to removed trim() removes the leading and trailing spaces
upvoted 5 times
...
Sid_16
1 year ago
@nyxxx why are you purposefully commenting wrong answers everywhere. If you are not willing to contribute close your top and bottom hole and sit
upvoted 5 times
yanoolthecool
4 months, 1 week ago
finally, someone with common sense.
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...