How to delete a first item from the list of string

hii,

I want to delete the first item from the list of string.
i used ivoke methode activity.
Targettype: null
TargetObject: listName
Methode name :RemoveAt and i also tried Remove
Parameter i set to int and value 0.

But i m getting the Error.

Pls help if i m wrong or provide some alternate solution
ASAP

Hi,

In my environment, RemoveAt method works well using InvokeMethod activity.

Can you share your workflow and error message when try RemoveAt?

Regards,

@Doonline

Use Skip method to remove the first item from the list.

           LstOutput = LstInput.Skip(1).ToArray
1 Like