Can somebody help me,
Take any string from command line prompt & replace what ever special character will get in that string that should be replaced with \ character.
Ex:
Enter any string: xyz/plks/abc.txt/$
Out put should be like this:
xyz\/plks\/abc\.txt\/\$
Thanks
Dillip
Take any string from command line prompt & replace what ever special character will get in that string that should be replaced with \ character.
Ex:
Enter any string: xyz/plks/abc.txt/$
Out put should be like this:
xyz\/plks\/abc\.txt\/\$
Thanks
Dillip
Comment