Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Convert String with Different Range Types to Array or String

Post any examples or modules that you want to share here

Convert String with Different Range Types to Array or String

Postby tiffy » Tue May 18, 2021 12:18 pm

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 707 times
User avatar
tiffy
 
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

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

Postby RJHollins » Tue May 18, 2021 6:04 pm

Thanks TIFFY !

Always appreciate the 'specialty' modules you post.

Works great ... Toolbox entry 8-)
RJHollins
 
Posts: 1567
Joined: Thu Mar 08, 2012 7:58 pm

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

Postby kortezzzz » Wed May 19, 2021 11:33 pm

Great little gadget! thanks :)
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm


Return to User Examples

Who is online

Users browsing this forum: No registered users and 36 guests