string concatenation with special characters

10 views
Skip to first unread message

Ali Khawaja

unread,
May 15, 2018, 6:56:21 AM5/15/18
to ansible-project@googlegroups.com <ansible-project@googlegroups.com>
i am trying to append a backslash between two string variables.

dc + '/' + item

this works fine.  but what i need is backslash.  i could not figure how to insert a backslash. i have tried two backslashes, lot of other trial and error but nothing works.  can anyone please let me know what the issue is, and why simple string contatenation with an escape character does not work?

Thanks
Ali
Reply all
Reply to author
Forward
0 new messages