simple component for splicing (inserting) a substr in a string