Separate> Suggestion (resolved)(RegEx solution)

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
JRL
Automation Wizard
Posts: 3524
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Separate> Suggestion (resolved)(RegEx solution)

Post by JRL » Fri Oct 09, 2009 3:57 pm

In a future version, Is there any way to make separate> split a string into its individual characters? Perhaps by using null as the separator:

Separate>String1%CRLF%String2,,var

Would evaluate to:
var_1=S
var_2=t
...
var_8=%CR%
var_9=%LF%
...
var_15=g
var_16=2
var_count=16

Thanks for listening,
Dick
Last edited by JRL on Fri Oct 09, 2009 8:02 pm, edited 2 times in total.

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Oct 09, 2009 6:41 pm

Can already do it like this:

RegEx>.,String1%CRLF%String2,0,var,var_count,0

. = any character

Not convinced about doing it with Separate and Null, since Null means something else and there is no character between each character.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
JRL
Automation Wizard
Posts: 3524
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Oct 09, 2009 8:00 pm

Can already do it like this:
Thank you Marcus. That works for me.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts