Advertisement
Guest User

Untitled

a guest
Dec 12th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1. public class Testero {
  2.  
  3.     public static void main(String[] args) {
  4.         // TODO Auto-generated method stub
  5.         String questionTextArray[] = new String[11];
  6.         String questions = "Abaddon|Mist Coil|abaddon|abaddon_mist_coil|0|Cooldown|x|5|6|7|8";
  7.         questionTextArray = questions.split("\\|");
  8.         if(questionTextArray[6]=="x"){
  9.             System.out.println("it's an x!!");
  10.         }
  11.        
  12.     }
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement