Level 3 assignment 2 generate yearly report substring

I am stuck in the step below with the error message “startindex cannot be larger than length of string.” Can you help to solve? thanks


UploadConfirmation.Substring("Report was uploaded - confirmation id is ".Length)

Try using split. Works for me.

can you print the UploadConfirmation and paste output here.