SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a method that does not require editing the code and works regardless of the number of characters.
String text = java.text.MessageFormat.format( "You're about to delete {0} rows.".replaceAll("'", "''"), 5);