Câu 37: UiARD: UiPath Advanced RPA Developer v1.0
A developer needs to create an automation process that identifies a file with the format "Monthly_Report_MMddyyyy.xlsx". The file name is saved to a String variable called strInput. To extract the month ("MM") from strInput, which String manipulation method will provide this information?
Nội dung câu hỏi
A developer needs to create an automation process that identifies a file with the format "Monthly_Report_MMddyyyy.xlsx". The file name is saved to a String variable called strInput. To extract the month ("MM") from strInput, which String manipulation method will provide this information?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. strInput.Substring(strlnput.LastIndexOf(”_")+1,2) — đáp án hiện tại
- B. strInput.Substring(strlnput.IndexOf("_")+1,4)
- C. strInput.Substring(strlnput.LastIndexOf("_"),2)
- D. strInput.Substring(strlnput.IndexOf("_"),8)
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.