playMaker

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

KellyRay

  • Full Member
  • ***
  • Posts: 169
    • View Profile
ArrayMaker Split String To Array[SOLVED]
« on: November 04, 2015, 01: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, 05:08:59 AM by jeanfabre »

terri

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • terrivellmann.tumblr.com
Re: ArrayMaker Split String To Array
« Reply #1 on: November 04, 2015, 03: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: 169
    • View Profile
Re: ArrayMaker Split String To Array
« Reply #2 on: November 04, 2015, 03:08:36 PM »
Brilliant! Thank you.

Hadn't thought of that.