playMaker

Author Topic: How to delete specific item in array list ?[SOLVED]  (Read 824 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
    • View Profile
How to delete specific item in array list ?[SOLVED]
« on: December 03, 2015, 04:54:38 AM »
I have a string array list, it holds 5 characters (below)
A, B, _, D, _

What's the correct way to delete the items holding "_"?
I want the array to hold A, B, D after remove _ characters?

I tried array next and loop remove pattern _, but when I have array list below
_, _, _, D, _
It will return
D, _
Which is not what I want...

Thanks for the help :)
« Last Edit: December 09, 2015, 05:44:31 AM by jeanfabre »

Auggie

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to delete specific item in array list ?
« Reply #1 on: December 03, 2015, 09:36:48 PM »
[edit removed cause the action works as intended]

Auggie
« Last Edit: December 07, 2015, 11:46:34 PM by Auggie »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14237
  • Official Playmaker Support
    • View Profile
Re: How to delete specific item in array list ?
« Reply #2 on: December 07, 2015, 10:59:37 PM »
Hi,

 I am testing this and the current action works, I am not sure what you are doing to make this fail.

 I do want the user to be called DONE the next time round, I want the user to be able to go to the loop event for all items, and then get the done event.

 do we agree on that?

 Bye,

 Jean

Auggie

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to delete specific item in array list ?
« Reply #3 on: December 07, 2015, 11:45:35 PM »
Yeah, sorry about that I just tested again and it works my mistake. I'll edit our my reply.