Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: KellyRay on January 24, 2015, 03:42:40 PM

Title: Split String Action
Post by: KellyRay on January 24, 2015, 03: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
Title: Re: Split String Action
Post by: djaydino on January 25, 2015, 09: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
Title: Re: Split String Action
Post by: Lane on January 26, 2015, 10:40:03 AM
http://hutonggames.com/playmakerforum/index.php?topic=9352.0
Title: Re: Split String Action
Post by: KellyRay on January 26, 2015, 11:57:24 AM
Perfect!