klepto2 #1 The multiplication is just an example to show that it works.You also could simply save the result = String(str) . As said, this was just an example ;)