playMaker

Author Topic: Problem about "Split Text To Array List"  (Read 1908 times)

roka

  • Playmaker Newbie
  • *
  • Posts: 2
Problem about "Split Text To Array List"
« on: January 26, 2016, 03:57:25 AM »
"Split Text To Array List" this action is helpful.

However, I use "Split Text To Array List" and set value type as "string" and "Array List Index Of " and "Array List Index Of by string" doesn't work!!

But if I directly input the string value in play maker array list proxy, "Array List Index Of " works well.

Also, if I use "Split Text To Array List" to get some string and use this string to "find game object", it doesn't work. I need to use other action like "Get String Left" to get string again to let "find game object" works well.

Please help me and let me know what I missed.
Thank you very much.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Problem about "Split Text To Array List"
« Reply #1 on: January 26, 2016, 07:18:23 AM »
Hi,

 Can you provide the content or an extract of it.

 is it not a case you are haivng white spaces, tabs or carriage return characters in each items you splitted?

Bye,

 Jean

roka

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Problem about "Split Text To Array List"
« Reply #2 on: January 26, 2016, 08:13:13 PM »
hear is the txt I'm using
I think there is no white spaces, tabs or carriage return characters in each items.

Thanks for your reply.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Problem about "Split Text To Array List"
« Reply #3 on: May 25, 2016, 04:29:28 AM »
Hi,

Indeed you need to convert your line break. to fix this, open it in Monodevelop, edit the file ( like add a line and remove it, just to touch it), then save, Monodevelop will ask you what to do with the line ending, click on "Convert".

Bye,

 Jean