Created
January 14, 2020 19:08
-
-
Save parzibyte/00244d99708c9d4f373f48e31bca19f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main { | |
public static void main(String[] args) { | |
String conComillas = "Hola mundo, tengo \"comillas\""; | |
String sinComillas = conComillas.replace("\"", ""); | |
System.out.println("Con comillas: " + conComillas); | |
System.out.println("Sin comillas: " + sinComillas); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment