playMaker

Author Topic: Split String Action  (Read 790 times)

KellyRay

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Split String Action
« on: January 24, 2015, 01:42:40 PM »
Looking for an action similar to the Build String action. However, instead of adding the strings together, I'd like to split the strings apart based on a character. For example,

"Dan: 05 | Sally: 09 | Ted: 01" would become:

Dan:05 |

Sally: 09 |

Ted: 01 |

Any thoughts on this?

KJ

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2265
    • View Profile
    • jinxtergames
Re: Split String Action
« Reply #1 on: January 25, 2015, 07:25:47 AM »
there is a Get Substring, but it is bound to a certain lenght that you put in.

for what you want, i think you should check array maker

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2484
  • Yup.
    • View Profile
    • Cleverous

KellyRay

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Split String Action
« Reply #3 on: January 26, 2015, 09:57:24 AM »
Perfect!