Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public static void main(String... args) {
  2. String cadena = "Google,Apple,Microsoft";
  3. String[] valores = cadena.split(",");
  4. System.out.println(Arrays.toString(valores));
  5. }
  6.  
  7. [Google, Apple, Microsoft]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement