Convert String with Different Range Types to Array or String

Post any examples or modules that you want to share here
Post Reply
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Convert String with Different Range Types to Array or String

Post by tiffy »

Ruby - Convert a String of Values also Containing 2 or More Different Range Types ("-" and "..") to a Sorted Array or String Containing Only Values.

The Schematic should not display an error if any or all of the Ranges or Range Types ("-" and "..") are not present in the Input String.

Flowstone v3.0.6 Pebble.
Attachments
Convert String with Different Range Types to Array or String.FSM
Flowstone v3.0.6
(990 Bytes) Downloaded 1047 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Convert String with Different Range Types to Array or St

Post by RJHollins »

Thanks TIFFY !

Always appreciate the 'specialty' modules you post.

Works great ... Toolbox entry 8-)
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Convert String with Different Range Types to Array or St

Post by kortezzzz »

Great little gadget! thanks :)
Post Reply