introduce parseString method for placeable substitution