Javascript function to transform string to add character upfront - 1 21 321
By Wilfred Wolf at Jan 28 2021