Exam UiPath-ADPv1 Topic 1 Question 138 Discussion
Actual exam question for UiPath's UiPath-ADPv1 exam
Question #: 138
Topic #: 1
Question #: 138
Topic #: 1
A developer has created a variable of type String called "MyNumbers" and assigned to it the following value:
"1. 2, 3.4, 5. 6". What is the resulting data type for the expression MyNumbers.Split("."c)(1)?
"1. 2, 3.4, 5. 6". What is the resulting data type for the expression MyNumbers.Split("."c)(1)?
Suggested Answer: B Vote an answer
When the Split method is used on a String variable, the result is an array of substrings. However, accessing a specific element of this array (e.g., MyNumbers.Split("."c)(1)) returns a single substring, which is a String.
by Edward at Feb 27, 2024, 01:44 PM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).