playMaker

Author Topic: ArrayMaker Split String To Array[SOLVED]  (Read 2340 times)

KellyRay

  • Full Member
  • ***
  • Posts: 170
ArrayMaker Split String To Array[SOLVED]
« on: November 04, 2015, 03:59:59 PM »
Hi friends,

I'm attempting to split a string into a char array using ArrayMaker. So for example I'd like to take a word like "apple" and split it into:

0 = a
1 = p
2 = p...

And so forth

I think I'm on to something using the Split Text to Array action, however, I'm unsure how to break the string into individual characters.

Any thoughts on this?
« Last Edit: November 06, 2015, 07:08:59 AM by jeanfabre »

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: ArrayMaker Split String To Array
« Reply #1 on: November 04, 2015, 05:03:37 PM »
you can use the get substring action.
keep the length at 1 and iterate through the start index one by one

KellyRay

  • Full Member
  • ***
  • Posts: 170
Re: ArrayMaker Split String To Array
« Reply #2 on: November 04, 2015, 05:08:36 PM »
Brilliant! Thank you.

Hadn't thought of that.