View Single Post
Old 06-20-2013, 07:24 AM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
I think you can achieve what you require with the switch statement in a regexp used in a template.

There are examples of how this can be used to match different strings and insert another string, depending on the match.

You can find some examples of this in the sticky thread "Techniques to use plugboards, custom columns and templates" in this subforum.

Last edited by Adoby; 06-20-2013 at 07:30 AM.
Adoby is offline   Reply With Quote