Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: roka on January 26, 2016, 03:57:25 AM

Title: Problem about "Split Text To Array List"
Post by: roka 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.
Title: Re: Problem about "Split Text To Array List"
Post by: jeanfabre 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
Title: Re: Problem about "Split Text To Array List"
Post by: roka 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.
Title: Re: Problem about "Split Text To Array List"
Post by: jeanfabre 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