# Direct way. var str1, str2 = "12345678" str1 = "0" & str1 echo str1 # Using "insert". str2.insert("0") echo str2