playMaker

Author Topic: converting string to many variables  (Read 2466 times)

Filto

  • Playmaker Newbie
  • *
  • Posts: 8
converting string to many variables
« on: August 06, 2012, 04:09:50 AM »
I need to convert a long string message into different variables and events. How do I go about parsing this in playmaker?
« Last Edit: August 06, 2012, 04:19:37 AM by Filto »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: converting string to many variables
« Reply #1 on: August 07, 2012, 09:08:19 AM »
Hi,

 It's going to be quite tricky, and would require custom actions. Do you have such a degree of possibilities that you  have to reference variable by string? how many of them do you expect accessing? same with events.

 bye,

 Jean

Filto

  • Playmaker Newbie
  • *
  • Posts: 8
Re: converting string to many variables
« Reply #2 on: August 08, 2012, 04:00:34 AM »
Hi jean!

I found your arraymaker which had functions for parsing text into an array which worked nicely for me. Thanks so much for those actions!
Maybe I expressed myself badly. What I really wanted to do was split up a long list of different functions devided by a delimiter. So thanks for that. We have a coder here at work who have started looking into this. She created a custom action for searching for part of text in an array which works nicely so I'm sure it will be solved now that she is onboard :)

If people are interested I can post custom actions later. Searching for part of string was quite handy for instance

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: converting string to many variables
« Reply #3 on: August 08, 2012, 04:21:14 AM »
Hi,

 Do not hesitate to share, even if no one is asking for it. It's always welcome, and a very positive attitude :)

bye,

 Jean