My strings.xml file holds a SQL query, and I'm trying to construct the finished string in code with String.Format. The SELECT query contains a like clause along these lines:
SELECT ColumnA, ColumnB FROM records WHERE ColumnA LIKE '%pattern%'
For formatting, I substitute %1$s for 'pattern', giving me:
SELECT ColumnA, ColumnB FROM records WHERE ColumnA LIKE \'%%1$s%\'
Backslashes let me escape the single quotes. The % character, however, is something I haven't managed to escape.
What is the way to put a like clause into strings.xml?