E
eight02645999
hi
is there a string method to insert characters into a string?
eg
str = "abcdef"
i want to insert "#" into str so that it appears "abc#def"
currently what i did is convert it to a list, insert the character
using insert() and then join them back as string..
thanks
is there a string method to insert characters into a string?
eg
str = "abcdef"
i want to insert "#" into str so that it appears "abc#def"
currently what i did is convert it to a list, insert the character
using insert() and then join them back as string..
thanks