Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package testingthings;
- /**
- *
- * @author philipp
- */
- public class TestingThings {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- TestingThings t = new TestingThings ();
- t.testing();
- }
- public void testing () {
- String test = "ichetest";
- String[] split;
- split = test.split("e");
- System.out.println(split[0]);
- System.out.println(split[1]);
- System.out.println(split[2]);
- System.out.println(test);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment