So, I need to be able to duplicate a certain character in a string the user inputs, for example:
Input: I\ love\ bac\kslashes\
Output: I\\ love\\ bac\\kslashes\\
This is as far as I have, it doesn't help that I'm duplicating backslashes, the escape character... How would I go about doing this?