Câu 18: UiARD: UiPath Advanced RPA Developer v1.0
A developer needs to create an automation process that identifies a file with format "Monthly_Report_MMddyyyy.xlsx". The file name is saved to a variable called strinput. To extract the date from strinput, which string manipulation method should be used?
Nội dung câu hỏi
A developer needs to create an automation process that identifies a file with format "Monthly_Report_MMddyyyy.xlsx". The file name is saved to a variable called strinput. To extract the date from strinput, which string manipulation method should be used?
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(strInput.LastIndexOf("_")+1,8) — đáp án hiện tại
- B. strinput.Substring(strInput.IndexOf("_")+1,strInput.IndexOf(".")−1)
- C. strinput.Substring(strInput.IndexOf("_")+1.8)
- D. strinput.Substring(strInput.IndexOf("_")+1,strInput.IndexOf("."))
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.