Welcome!

Welcome to MiracleSalad.com where you can chew through the verbal buffet of Sunny Walker's brain. Whether you're looking for something tasty, or simply a light snack, your palate is sure to be enlightened! Pick up your mental fork and romaine around about. Or, if you just want a light snack, see what others enjoy here: Timesheet Calculator, Online Clipboard, MD5 Hash Generator, Hilo Eats, and my blog.

Sequencer Tool :: April 03, 2009

I've just added Sequencer; it's a little web tool which acts much like a sequential search and replace. It takes a mask (template) and inserts each line from a sequence into that mask. It's much easier to show an example than try to explain it.

Mask:
user{{#}} is stored in /users/{{X}}/

Sequence:
sunny
john
donald

Given the above, sequencer will output:
user1 is stored in /users/sunny/
user2 is stored in /users/john/
user3 is stored in /users/donald/

While this is very similar to my Line Processor tool, it swaps the focus from the list to the mask and allows for a large mask.

Here's another example which highlights the strength of the Sequencer tool (from a recent web registration form I built):

Mask:
Guest {{X}}: [guest{{X}}_name]
Phone: [guest{{X}}_phone]
Email: [guest{{X}}_email]
Special: [guest{{X}}_special_needs]

Sequence:
1
2
3
4
5

This could easily be edited manually, but my actual mask is much larger and I wanted a handy way of dealing with a potentially gigantic sequence.

Anyway, I hope someone finds it useful.

[ Permalink | Web Site Stuff | 0 Comments ]

Blog Archive

The previous blog entry before the one above was Aloha Kākou, posted on March 09, 2009. Catch up by reading the blog archives.

Links

I won't guarantee that these links are valid as they aren't my pages. They appear in some secret formula order, but they are XHTML Friends Network (XFN) Friendly.