Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f=File.open("priceMap_current_new.txt")
- f.each do |str|
- arrstr=str.split(";")
- if arrstr.length==1
- puts arrstr[0].inspect if arrstr[0]=="nextn"
- end
- end
- String[] mystr={"number;zero","number;one","number;two","number;three","number;four"};
- for(int i=0;i<mystr.length;i++){
- String[] numbers=split(mystr[i],";");
- if(numbers[0]=="number"){
- println("shoooooooooooooooooout");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement