repl.it
@maniero/

ReplaceIfExists.java

Java

No description

fork
loading
Files
  • Main.java
  • jdt.ls-java-project
Main.java
1
2
3
4
5
6
7
8
9
class Main {
	public static void main (String[] args)	{
		String str = " Hello Word";
		str = str.replace("Hello", "Olá");
		System.out.println(str);
	}
}

//https://pt.stackoverflow.com/q/75000/101