Created
April 18, 2018 01:10
-
-
Save anthonyjdella/0ef0d48f062fabeda680583e27595c79 to your computer and use it in GitHub Desktop.
Java with Magic Numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MagicNumber { | |
String pipeDelimitedString = "This|is|an|example|of|Magic|Numbers|123 Parker Road|[email protected]"; | |
String [] splitString = pipeDelimitedString.split("\\|"); | |
obj.doSomething(splitString[7]); | |
obj.doSomething(splitString[8]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment