|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Answer: How do I insert characters at certain positions in a string? |
| ( #291981=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > strings > How do I insert characters at certain positions in a string? contributed by Anonymous Monk
If you do not want to replace the character you can set the substring length to zero.
This will result in 'A2B1CDEFG'
|
|
||||||||||||||||||