段階2です。
This commit is contained in:
@@ -15,11 +15,9 @@ public static void main(String[] args) {
|
||||
|
||||
// System.out.println(message[0]);
|
||||
String str = scanner.nextLine();
|
||||
|
||||
str = str.replaceAll(" ","");
|
||||
|
||||
// System.out.println(message[3]);
|
||||
System.out.println("" + str.trim() + "");
|
||||
System.out.println(str.strip());
|
||||
scanner.close();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user