Añadimos funcionalidad de remplazo de comillas simples

This commit is contained in:
thiago
2026-09-22 17:45:31 +02:00
parent 6bf2c463b1
commit 747b9295b7
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -14,7 +14,7 @@ public class appPrincipal {
String linea; String linea;
while ((linea = bfr.readLine()) != null) { while ((linea = bfr.readLine()) != null) {
if (!linea.startsWith("#")) { if (!linea.startsWith("#")) {
System.out.println("INSERT INTO T_PAIS VALUES("+linea+");"); System.out.println("INSERT INTO T_PAIS VALUES("+linea.replace('"', '\'')+");");
} }
} }