I put a SQL query statement in the string.xml file, but I want to write this code in String.Format.
SELECT Field1, Field2 FROM mytable WHERE Field1 LIKE '%something%'
If you have a statement like this, I know that if you want this SQL statement to run as a string here, you'll see a single quote \', but I don't know how to mark the %s.
Mark % as %%.
© 2024 OneMinuteCode. All rights reserved.