I did a research in Genesys Care and I found this:
“There is no availability to remove line breaks using StrReplace function”
I really don’t know RegEx very well, there is a way to remove line breaks using RegEx? As I know, Screening Rules don’t allow the method replace, just find.
There is another way to remove these line breaks from an attach data?
The fastest thing (and stupidest) that comes into my mind is to break the attach data into separate pieces using the character/word/length and then trim them out from each separate key and then assemble again, if need to.
We had something similar a while back; however, we handled it on an app side that was giving us CRLF. We replaced them with
Basically StrReplace replaces any chars (if their code is known) including line breaks.
Did you try something like following sequence:
v_data1 = StrReplace[v_data1, Char[13], ‘’]
v_data1 = StrReplace[v_data1, Char[10], ‘’]
If it doesn’t work - may be first checks which exactly codes presents line break - codes= Bytes[v_data1, 10].