I have a very long string in my Android project, so I split it across multiple lines:
<string name="my_str">
AAAAAAAAAAA
BBBBBBBBBBB
</string>
When I use this string, I get AAAAAAAAAAA BBBBBBBBBBB. Is there a way to get rid of the space in the middle? (I want AAAAAAAAAAABBBBBBBBBBB)
Obviously I could put the entire string on one line, but that's not very maintainable.
Edit: The string (AAA...BBB) can contain spaces; I only want to remove the spaces created by the newline in the XML.