Action block to Split & Join

AkashiDom

Active member

These action block can split string to characters in array and join array to single string!​

It useful for almost most macro(possibly).

So if you don't understand let me explain

For example:​

A string "Hello" split to array will be
[0]: H
[1]: e
[2]: l
[3]: l
[4]: 0


Or

An array
[0]: H
[1]: I
Joined to string will be
Hi

2 version:​

Loop: Compatible with long string but laggy and takes time.
JSON: Extremely Quick but can't be used for long string.

Oh I just realise the feature is built in

Download:​

There 2 file below, one of them is JSON Method and the other one is Loop Method. Choose then unpackaged the zip file. You'll get 2 action block.
 

Attachments

  • Split & Join.zip
    2.6 KB · Views: 6
  • Split & Join (JSON Method).zip
    2.7 KB · Views: 2

AkashiDom

Active member
Poor me, I spent time building this just to realise split feature is built-in.
I can't find join array feature however. So the useful one that you gonna need is join array to string.
 
Top