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

Exam UiRPA All Questions

View all questions & answers for the UiRPA exam

Exam UiRPA topic 1 question 139 discussion

Actual exam question from UiPath 's UiRPA
Question #: 139
Topic #: 1
[All UiRPA Questions]

A developer has declared a variable of type String named StrVar and assigned it the value “UIPATH STUDIO”. What is the output of the expression, StrVar.LastIndexOf(“U”)?

  • A. 0
  • B. 1
  • C. 9
  • D. 10
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
iboshow
12 months ago
Selected Answer: C
C as the last index would be that last U
upvoted 1 times
...
RashaAlqahtani
1 year, 2 months ago
Selected Answer: C
Tested the answer is 9 "C"
upvoted 1 times
...
Dari1342
1 year, 3 months ago
Selected Answer: C
Answer should be C. When you use the LastIndexOf function in the "UIPATH STUDIO", it will return the index of the last occurrence of the character "U". Since indexing is 0 based, the position is 9.
upvoted 3 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 ...