Guest User

Untitled

a guest
Apr 25th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. class MagicNumber {
  2.  
  3. String pipeDelimitedString = "This|is|an|example|of|Magic|Numbers|123 Parker Road|cityline@gmail.com";
  4. String [] splitString = pipeDelimitedString.split("\\|");
  5.  
  6. obj.doSomething(splitString[7]);
  7. obj.doSomething(splitString[8]);
  8. }
Add Comment
Please, Sign In to add comment