Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 14, 2020 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/00244d99708c9d4f373f48e31bca19f3 to your computer and use it in GitHub Desktop.
Save parzibyte/00244d99708c9d4f373f48e31bca19f3 to your computer and use it in GitHub Desktop.
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