Function createStringElement