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?
- strinput.Substring(strInput.LastIndexOf("_")+1,8)
- strinput.Substring(strInput.IndexOf("_")+1,strInput.IndexOf(".")−1)
- strinput.Substring(strInput.IndexOf("_")+1.8)
- strinput.Substring(strInput.IndexOf("_")+1,strInput.IndexOf("."))
Reveal Solution Next Question