Answers for "how to split string into two strings using space delemeter in java"

-1

hwo to split string by spaces in java

String lineOfCurrencies = "USD JPY AUD SGD HKD CAD CHF GBP EURO INR";
String[] currencies = lineOfCurrencies.split(" ");
Posted by: Guest on November-23-2020

Code answers related to "how to split string into two strings using space delemeter in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language