My application flow is like i need to create a fixed length message and send it to end consumer over mqs.

```
AAA
BBB
CCC
DDD

```

Needs to be converted to `AAABBBCCCDDD` and send to end application over mqs
for this i am using below code

```
String response = "AAA
BBB
CCC
DDD";
response.replaceAll(System.getProperty("line.separator"), "");
response = AAABBBCCCDDD

```

Everything is good so far, but when the message reach to end system they are complaining about a space after each line and when checked via hex it looks like a 0D character is getting inserted at place of next line

**AAA BBB CCC DDD** -> This is how they are received

**AAA0DBBB0DCCC0DDDD** -> Hex enabled Hex’0D’ (I think it’s more like delimiter, EOL or something)

Can someone suggest how can i get rid of these characters which are getting added?