Added method for selecting correct string literal from template.
Authored by: crowbar27 2017-06-12
Parent: [r855]
Child: [r857]